Monday, August 30, 2010

Battle Drill: Get GIT Working with Eclipse

Git is a distributed development and code versioning system similar to CVS and Subversion.  Git is system used for both the Android platform itself and the Linux kernel, from which Android is based.  Git is also very popular due to www.github.com; a free web-based repository for open-source software.

Task: Get GIT Working with Eclipse
Condition: Given Eclipse 3.5 and access to to Git repository
Standard: User can access and download code from a Git repository

Procedure to Install/Setup Git:
1.  In Eclipse select Help -> Install New Software...
2. Click Add...
3. In the Location field type "http://download.eclipse.org/egit/updates"
4. From the options that appear under Name, select Eclipse EGit and click Finish

Procedure to Download a Git Repository (Called "Cloning")
1. In Eclipse, select File -> Import...
2. Select Git -> Projects from Git -> Next >
3. Click Clone...
4. Enter the address to the Git repository in the URI field.  Eclipse will attempt to populate the other fields.
5. You'll now need to create an Eclipse Project if that framework isn't a part of the repository.
6. Select Next -> Finish

// End procedure

No comments:

Post a Comment