Jump to content

Eclipse and Git: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
So after having a bit of a head bashing session getting an eclipse project to work nicely with a git repository hosted on github, I thought I'd throw my approach up here to save others torture.
So after having a bit of a head bashing session getting an eclipse project to work nicely with a git repository hosted on github, I thought I'd throw my approach up here to save others torture.


== Eclipse git plugin ==
==Eclipse git plugin==
I'm using EGit.
I'm using EGit.


I used Eclipse's Update Manager, adding http://download.eclipse.org/egit/updates as the site for the plugin.
I used Eclipse's Update Manager, adding http://download.eclipse.org/egit/updates as the site for the plugin.


== Eclipse Project ==
==Eclipse Project==
I went about setting up my project in eclipse as per usual, noting the location of my workspace.
I went about setting up my project in eclipse as per usual, noting the location of my workspace.


== Git Repo ==
==Git Repo==
I'm using ubuntu, so I installed the necessary git tools with the following command:
I'm using ubuntu, so I installed the necessary git tools with the following command:


138

edits