How stable is the git plugin for eclipse?

EclipseGitVersion Control

Eclipse Problem Overview


I was intending to have a play with git, and was wondering if anyone had used the git plugin for eclipse

I see it's at version 0.3.1, and was wondering if anyone knew how stable it was / any gotchas?


Update:

If you are using a recent version of Eclipse, your Help menu has an 'Eclipse Marketplace...' link.

Enter 'git' in the Find field. This shows me EGit.

This is also very high in the Popular plugins list.

Click install. Much easier than having to add update site locations by hand.

Eclipse Solutions


Solution 1 - Eclipse

Github blog spoke yesterday about Egit plugin:

http://freshmeat.net/projects/jgit/

Solution 2 - Eclipse

I'm using if for day-to-day work and I find it stable. Lately the plugin has made good progress and has added:

  • merge support, including a in-Eclipse merge tool;
  • a basic synchronise view;
  • reading of .git/info/exclude and .gitignore files.
  • rebasing;
  • streamlined commands for pushing and pulling;
  • cherry-picking.

Git repositories view

Be sure to skim the EGit User Guide for a good overview of the current functionality.

I find that I only need to drop to the comand line for interactive rebases.

As an official Eclipse project I am confident that EGit will receive all the main features of the command-line client.

Solution 3 - Eclipse

EGit is still in eclipse incubation. You can install it using the Eclipse update manager.

  1. Select Help -> Install New Software...
  2. You probably do not have the JGit update URL in your list of sites so in the 'Work with:' field enter this url: http://www.jgit.org/updates
  3. Click Add...
  4. You should now see Eclipse Git Plugin - Integration Build (Incubation) listed as available software to install. Check it and click Next.
  5. Click Next and agree to the license and it should be installed.

Solution 4 - Eclipse

You can integrate Git-GUI with Eclipse as an alternative to EGit.

See this two part YouTube tutorial specific to Windows:
http://www.youtube.com/watch?v=DcM1xOiaidk">http://www.youtube.com/watch?v=DcM1xOiaidk</a><br> http://www.youtube.com/watch?v=1OrPJClD92s">http://www.youtube.com/watch?v=1OrPJClD92s</a>

Solution 5 - Eclipse

It still seems barely usable, to tell the truth, especially in comparison to the CVS and SVN plugins. Is it really GIT so different that developer with four years of CVS and SVN plugin experience should be completely lost with completely different GUI, unheard commands, two or even single word error messages and "features" like overwriting the shared repository without warning? Do not use it, use command line interface. If you do not like command line interface, do not use GIT at all.

Solution 6 - Eclipse

Meanwhile EclipseGit is an "Official Eclipse Technology Project" (09-05-07 GitWiki). I use the current version 0.5.0 (the Wiki is a step behind the development) from time to time, without any problems. Version comparison, commit, revert etc. is working well, although manual refresh's (F5) are necessary when using command line or other Git clients (usual and acceptable Eclipse behavior I think).

Solution 7 - Eclipse

For a command line view from within eclipse, install the Aptana Eclipse Plugin, it provides you with a console. It's an incredible productivity boost if you do a lot of terminal commands.

Solution 8 - Eclipse

I've set up EGit in Eclipse for a few of my projects and find that its a lot easier, faster to use a command line interface versus having to drill down menus and click around windows.

I would prefer something like a command line view within Eclipse to do all the Git duties.

Solution 9 - Eclipse

egit has a serious bug when comparing a file in your working dir with an earlier - it flashes a blank tab. The bug has been around since 2010 and still has not been fixed. This very basic feature which works very well in svn plugin is completely broken.

Solution 10 - Eclipse

I've used it briefly, but it was still lacking support in several important areas (it wasn't doing renames/moves properly, or something). There also was no update site available for it.

I don't remember which version it was, but this was like 6 months ago. Hopefully it is better now.

Solution 11 - Eclipse

You may be interested in these pointers: http://github.com/blog/232-github-and-eclipse

Solution 12 - Eclipse

There is also gitclipse(based on JavaGit), but seems dead.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontoolkitView Question on Stackoverflow
Solution 1 - EclipseAlexView Answer on Stackoverflow
Solution 2 - EclipseRobert MunteanuView Answer on Stackoverflow
Solution 3 - EclipseChris JView Answer on Stackoverflow
Solution 4 - EclipseAndyLView Answer on Stackoverflow
Solution 5 - EclipseaudriusaView Answer on Stackoverflow
Solution 6 - EclipsemtpView Answer on Stackoverflow
Solution 7 - EclipseELFView Answer on Stackoverflow
Solution 8 - EclipsemhoofmanView Answer on Stackoverflow
Solution 9 - EclipsesanjayView Answer on Stackoverflow
Solution 10 - EclipseJesperEView Answer on Stackoverflow
Solution 11 - EclipsewebmatView Answer on Stackoverflow
Solution 12 - EclipseNameView Answer on Stackoverflow