Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Egit's Team context menu has only one option: Apply patch

Tags:

git

eclipse

egit

I'm sure that I inadvertently checked off a box somewhere which caused this problem where all of the other options are missing: fetch, push, merge, etc. On my other machines, when I right click on a project and select "Team", I'll get all of the menu options. On one laptop, all I get is a single option, "Apply patch..." I can go into the Git Repository View and get at all of the other GIT functions there, which is what I have to do when I want to synch up to a remote.

I haven't been able to figure out how to fix this so I can access all of the git functions from the regular editor view and it's driving me crazy. Any help would be appreciated, thanks.

like image 456
aceperry Avatar asked May 22 '12 03:05

aceperry


1 Answers

Well, your project isn't associated with the Git Team Provider. I ran into the same problem when setting up eclipse juno with EGit.

  • If not done already, initialise or clone your existing project with git
  • Rightclick on your project and select:
  • Team -> Share Project ... -> Git -> [check your project] -> Finish

Now all the Git options you were looking for should be in place.

HTH, Martin

like image 72
Martin Peter Avatar answered Oct 16 '22 11:10

Martin Peter