Questions tagged [egit]

For questions about the EGit Eclipse plugin for the Git version control system.

EGit is an plugin for the version control system built on top of , the Java implementation of Git.

enter image description here

1440 questions
17
votes
3 answers

"git pull --rebase" in Eclipse

Our version control manager recommends us to use git pull --rebase to pull new changes from upstream branch. I want to use EGit (Eclipse plugin for git) to execute that. How can I do this?
Jaime M.
  • 3,613
  • 5
  • 32
  • 35
17
votes
1 answer

egit replacing single file - HEAD Revision vs File in git index

In the egit git eclipse plugin, I know I can "reset" a single file by right clicking on it and selecting Replace With > HEAD Revision. What is the difference between replacing with HEAD revision vs File in git index?
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
16
votes
4 answers

Pushing from Eclipse to my GitHub repository via HTTPS stopped working: "git-receive-pack not permitted" error

I recently did a push to my GitHub repository for a few weeks ago. I got a main from GitHub that GitHub is soon quitting regular authorization and going to replace it with another authorization method. So today I push a new update to my GitHub…
euraad
  • 2,467
  • 5
  • 30
  • 51
16
votes
1 answer

How can I add current Eclipse project to git with EGit?

I have GAE project in my Eclipse and I want to add it to my local git repo, how can I do that?
newbie
  • 24,286
  • 80
  • 201
  • 301
16
votes
4 answers

Is there a way to retrieve eclipse executed git commands?

I'm a regular git user, and I'm building some shortcuts in eclipse to activate some EGit functions. I'm a bit wary of what is EGit doing (especially the synchronize workspace operations), and I was wondering if I could make EGit show what git…
BenoitParis
  • 3,166
  • 4
  • 29
  • 56
16
votes
7 answers

Keep getting Invalid author specified. Example: A U Thor

Using Eclipse Indigo and egit, everytime I commit a pop up appears and has my name and email in the author and committer boxes. They look fine. however, egit tells me: Invalid author specified. Example: A U Thor when, I…
dublintech
  • 16,815
  • 29
  • 84
  • 115
15
votes
7 answers

How do I push to Git Repo given the following error: An internal Exception occurred during push: ssh://git@github.com/xxx/xxx.git: session is down

I recently set up a github account to store the source code of a project I have been working on. I am using egit eclipse plugin to push changes to github. I successfully pushed the initial code and 2 subsequent changes. However when I attempted to…
punkle
  • 952
  • 1
  • 8
  • 17
15
votes
6 answers

Why is the merge tool disabled in Eclipse for a EGit-managed project?

As per the EGit User Guide, to use the merge tool, one should right-click on the resource with a merge conflict and then select Team > Merge Tool. However, when I do this, the Merge Tool option is greyed out. EGit is properly detecting the conflict…
Josh Glover
  • 25,142
  • 27
  • 92
  • 129
15
votes
6 answers

Gitlab cannot open git-upload-pack error

I have been using Gitlab without problems for a couple of months now. But, since yesterday, I can not "reach" (fetch, push,...) Gitlab from my Eclipse IDE anymore. No matter whether I'm working in my firm (could have been a proxy problem) or at…
Laurent Le Moux
  • 241
  • 1
  • 2
  • 9
15
votes
1 answer

Show date details in EGit history

Hi I just installed Kepler and started using EGit. In the history view, changes checked in in the past are showing as xx days/weeks/months ago. Instead of these notations, I want to see the datetime details (or best to have both along side each…
user1589188
  • 5,316
  • 17
  • 67
  • 130
15
votes
3 answers

EGit on Eclipse: How to git push --force?

I've run into a problem with my origin/branch being out of sync with my local branch, see below When I try to PUSH from my local "staging" branch to the origin/staging branch I get the "rejected - non-fast-forward" error. I use Eclipse with the…
Jason
  • 393
  • 1
  • 5
  • 18
14
votes
5 answers

How can I do the equivalent of git rebase -i HEAD~2 in eGit?

I know how to rebase onto a specific branch or tag using eGit in Eclipse, but I haven't found a way to rebase onto a specific sha1 using eGit. I'd like to do this in order to squash commits before pushing to upstream (ie, doing git rebase -i HEAD~n…
Zach
  • 2,145
  • 3
  • 17
  • 32
14
votes
2 answers

EGit: how to create a new tag?

I'd like to create a new tag using EGit. According to the manual there are two ways of doing it: Select Team > Advanced > Tag... But I don't have the Advanced sub-menu in the Team menu. Execute Create Tag... on a commit in the History…
Luís de Sousa
  • 5,765
  • 11
  • 49
  • 86
14
votes
2 answers

How to create a new remote branch with EGit?

Let's say I have an Eclipse Project which uses versioning control with EGit and is connected with a remote repository git@myrepo.com:git2013. In my project, under the local branch newstuff, I create and change some files. Now, I want to push this to…
Above
  • 235
  • 2
  • 3
  • 9
14
votes
4 answers

funny refname error when creating a new remote branch

So I've gotten a project up on github and everything is dandy. Now I want to create a new branch. Here's what I've done: created a new local branch pushed the new branch to github Here's the problem: During the push to my remote, I get this…
Scuba Steve
  • 1,541
  • 1
  • 19
  • 47