Skip to content

Instantly share code, notes, and snippets.

@smockle
Created May 17, 2013 21:46
Show Gist options
  • Save smockle/5602217 to your computer and use it in GitHub Desktop.
Save smockle/5602217 to your computer and use it in GitHub Desktop.
Git configures a new git repository.
cd <Project>
git init .
git add .
git commit -am 'Initial commit.'
github
git remote add origin https://github.com/smockle/<Project>.git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment