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



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



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


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



Then, select GIT in the Share Project menu


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


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


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
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks