Windows, Eclipse and GitHub
Setting up for using GitHub on my mac was a breeze. Setting up at work on Windows was a pain. I think that these steps will satisfactorily setup Eclipse to work with GitHub.
- If you haven’t got a GitHub account, create one;
- Install eGit in Eclipse;
- EGit for Eclipse is at http://www.jgit.org/updates;
- I was unable to install EGit into the FDT ‘standalone’ version of Eclipse. If you have this problem you will need to download and install the (superior) Eclipse Classic Version;
- Download and install msysgit from Google Code;
- Create your own ssh key using
$ ssh-keygen -C "[email protected]" -t rsa
- Personally I’d use the “Use Git Bash only” option;
- This will generate your key to (typically):
c:\Documents and Settings\[yourname]\.ssh
Change the folder from .ssh to ssh, otherwise EGit will look in the wrong place;
- In Eclipse, “Import…” a new project and choose “Git Repository”.
- Copy the Public Clone URL from the GitHub repository that you want to clone into the Location URI.


