This article presents two simple steps to place your eclipse workspace under GIT. EGIT is a plugin that allows you to use GIT directly within the Eclipse IDE.

Step1: Installation of EGIT

Navigate to Help  –> Install New Software

Step1help

 

Type the URL from which the EGIT could be downloaded. Then, click select all and next.

http://download.eclipse.org/releases/indigo/

step3selectallnext

 

Then Deselect All and select only “Eclipse Egit” and click on next.

step3bselecteclipseegit

After installation of EGIT, we need to configure GIT on Eclipse

 

Step2:  Configure your Eclipse project to use GIT

Right click on your project in Eclipse. In the context menu, Choose Team –> Share Project

Step4LocalRepository

 

Then, select GIT in the Share Project menu

Step5SeletGIT

Then enter the name of your project and create a new GIT repository for the project

Step6CreateNewGITrepository

To view your project as a GIT repository within the Eclipse IDE, navigate to Windows –> Show View –> GIT –> GIT Repositories

Step7ShowViewGITReo

Now you can see your project placed under GIT version control and apply all the GIT commands from your Eclipse IDE!

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks