Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Git with Eclipse (EGit) - Tutorial

Lars Vogel

Version 2.6

11.05.2011

Revision History
Revision 0.111.12.2009Lars Vogel
Created
Revision 0.2 - 2.6 12.12.2009 - 12.05.2011Lars Vogel
bug fixes and enhancements

Git with Eclipse (EGit)

This tutorial describes the usage of EGit; an Eclipse plugin to use the distributed version control system Git. This tutorial is based on Eclipse 3.6 (Helios).


Table of Contents

1. Overview
2. EGit Installation
3. Putting projects under version control
3.1. Put a new project under version control
3.2. Clone existing project
3.3. Repository view
4. Using EGit
4.1. Basic operations
4.2. Merge
4.3. View the resource history
5. Create a Git repository for multiple projects
6. Using EGit with Github
6.1. Github
6.2. Create Repository in Github
6.3. Push project to Github
6.4. Clone repository from Github
6.5. Mylyn integration with Github
7. Hacking EGit - Getting the source code
8. Thank you
9. Questions and Discussion
10. Links and Literature
10.1. EGit and Git Resources
10.2. vogella Resources

1. Overview

Git is a distributed version control system written in C. JGit is a library which implements the Git functionality in Java. EGit is an Eclipse Team provider for Git (using JGit) and makes Git available in the Eclipse IDE . This tutorial describes the usage of EGit. For an introduction into Git based on the command line please see Git Tutorial .