Getting the Eclipse source code via Git

Eclipse recently started to provide Git mirrors of the cvs repositories.You find the location of the Git repository on the following website Eclipse Git repositories.

If you have the git commad line tools installed (Ubuntu: sudo apt-get git-core) you can use the following command to check these repositories out from the command line:

git clone url

for example to get the JFace snippets use the following command.

git clone git://

After that checkout you can import the project into Eclipse via File -> Import -> General -> Existing Project into Workspace.

Of course you can use the EGit plugin to checkout Git repositories directly in Eclipse. Check the excellent EGit User Guide for this.

Via Git we have another nice option to get the Eclipse source code in additon to cvs and svn. :-)

I believe Git does currently not support Project Set Files (.psf) similar to cvs to get a consistent set of plugins but at least individual plugins can be checked out.

Update I have created a small introduction to Git Git Tutorial and to EGit Git with Eclipse – EGit Tutorial. Hope this helps.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, With more than one million visitors per month his website is one of the central sources for Eclipse and Android programming information.
This entry was posted in Eclipse and tagged , , , . Bookmark the permalink.

3 Responses to Getting the Eclipse source code via Git

  1. I found git repositories on few days ago and I am now testing for my needs. I usually track Mylyn sources, and getting them via git is not only significantly faster than via CVS, but I automagically get all Mylyn plugins at once. No need to hunt down individual plugins (not that I need them all, but it’s nice to have them locally).

    Using it for a few days, I am slowly falling in love with Git :-) Having entire history locally is a huge winner, being able to commit my changes locally is another one and simple tracking of remote master sources is just a bonus on top :-)

    One thing I haven’t yet figured out is how can I create a patch from my locally-commited changes using EGit.

  2. > I believe Git does currently not support Project Set Files (.psf) similar to cvs to get a consistent set of plugins

    Yes, there is no PSF for EGit. Not yet…

  3. Lars Vogel says:

    @Peter I checked in the newsgroup, EGit does currently not have to option to create patches. They are working on this.

Comments are closed.