AlecMcE.com

Coding on the Flash Platform

Windows, Eclipse and GitHub

View Comments

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.

  1. If you haven’t got a GitHub account, create one;
  2. Install eGit in Eclipse;
  3. Download and install msysgit from Google Code;
  4. Create your own ssh key using
    $ ssh-keygen -C "your@email.com" -t rsa
    
    • Personally I’d use the “Use Git Bash only” option;
  5. 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;

  6. In Eclipse, “Import…” a new project and choose “Git Repository”.
  7. Copy the Public Clone URL from the GitHub repository that you want to clone into the Location URI.

Written by alec

September 28th, 2009 at 4:48 pm

Posted in library,tools

Tagged with , ,

blog comments powered by Disqus