Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Git for User Assistance Developers

Revision as of 18:02, 17 August 2011 by Cgold.us.ibm.com (Talk | contribs) (Configuring Eclipse to Use Git)

The Eclipse User Assistance source repository will be in Git starting late August 2011.

Getting Started with Git

If you are not familiar with Git you should start by reading up on it.

Pro Git is an excellent book which describes the concepts behind Git and how to use Git from the command line. It does not cover EGit, the Eclipse Git integration.

EGit is the home page for the EGit project. EGit provides the UI for working with Git in Eclipse.

Configuring Eclipse to Use Git

EGit is not part of the Eclipse SDK download so you will need to add it yourself. This can be done using the update manager. If you are using a recent nightly or integration build http://download.eclipse.org/egit/updates-nightly/ is the place to get the latest version of EGit. For Eclipse 3.7 you can install Git from the Indigo site, in the Collaboration category.

The next step is to get the sources by cloning the master repository on eclipse.org. This is done by opening the Git Repositories view and selecting "Clone a Repository" from teh view drop down menu.

If you are a committer you can use this path to access the repositories: ssh://your_comitter_id@git.eclipse.org/gitroot/platform/eclipse.platform.ua.git

If you do not have commit rights and want to work anonymously use git://git.eclipse.org/gitroot/platform/eclipse.platform.ua.git

After cloning the repository you will want to check out some projects into your workspace. This is accomplished using the menu item File/Import/Projects from Git. Select eclipse.platform.ua as the repository in the first screen. Import the projects you want and you now have teh sources from Git in your workspace.

Back to the top