Install Git plugin for Eclipse

Git became one of the most popular distributed revision control system. It was developed by the linux kernel maintainer Linus Torvalds and has a big community. To include Git in your workflow or make it possible to review a repository you are working on it’s nice to have it included in your IDE. For Eclipse there is a project called EGit which develops an connector plugin. This short tutorial should help you to include EGit in Eclipse.

1. Go to: Help -> Install New Software

Add the EGit Download Site: http://download.eclipse.org/egit/updates

Add EGit download site to Eclipse

After you add the software repository you need to select the necessary packages for EGit.

select EGit packages for installation

The installer pulls needed dependencies automatically for you. In my case there are no more packages needed and with one click on the finish button the installation starts.

review installation details

After the Installation is completed it’s recommended to restart your Eclipse then you will see a new point called “Git” if you try to import a project.

import egit repository in eclipse

Enter the URL and log in information to connect your repositiory.

clone Git repository with EGit

Git: Project Page

EGit: Project Page

 

2 thoughts on “Install Git plugin for Eclipse

  1. AJ

    For Eclipse Juno on OSX Snow Leopard, Choosing Preferences, Install/Update doesn’t work.
    What does work is Help, Install New Software

    Took me 10 mins to figure this out.

    Reply
  2. Adheena Jacob

    hi,
    I have eclipse 4.2 version. When I select the required packages and click next I get following error.

    “Cannot complete the install because one or more required items could not be found.
    Software being installed: Git Team Provider – auto-import for Eclipse >= 4.6 4.5.0.201609210915-r (org.eclipse.egit.ui.smartimport 4.5.0.201609210915-r)
    Missing requirement: Git Team Provider – auto-import for Eclipse >= 4.6 4.5.0.201609210915-r (org.eclipse.egit.ui.smartimport 4.5.0.201609210915-r) requires ‘bundle org.eclipse.ui.ide 3.12.0’ but it could not be found”

    can you help

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *