Skip to content

Instantly share code, notes, and snippets.

@drewyeaton
Created June 2, 2009 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewyeaton/122277 to your computer and use it in GitHub Desktop.
Save drewyeaton/122277 to your computer and use it in GitHub Desktop.
Global setup:
Download and install Git
git config --global user.name "Drew Yeaton"
git config --global user.email xeeton@gmail.com
Next steps:
mkdir test
cd test
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:sentineldesign/test.git
git push origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin git@github.com:sentineldesign/test.git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment