ali

Setting up Git for use with Github on Windows

In Uncategorized on January 15, 2010 at 3:40 pm

I followed the tutorial here:

http://nathanj.github.com/gitguide/tour.html

  1. Download and install msysgit.
  2. Install with the following options:
    • No additional icons.
    • No Explorer integration.
    • Use Git Bash only
    • Use PLink
    • Use Unix style line endings
  3. Go through the following steps to make sure my connection works:
    • Connect using PuTTY to git@github.com and accept the key
    • Make sure the key is loaded in Pageant
    • See this Github guide if you have issues
  4. Set up Git preferences (see this Github guide)
    • user.email
    • user.name
    • github.user (perhaps not needed)
    • github.token (perhaps not needed)
  5. Create a README.md file (Github flavored Markdown)
  6. Commit the file and push to remote repository
    • git add README.md
    • git commit -m "Added README" README.md
    • git remote add origin git@github.com:...
    • git push origin master
Advertisements
%d bloggers like this: