Created
April 9, 2013 21:02
-
-
Save michaelfox/5349366 to your computer and use it in GitHub Desktop.
Initialize git in an existing project...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
touch .gitignore | |
# edit .gitignore to ignore files you don't want tracked | |
git add . | |
git commit -m 'Initial Commit' | |
git remote add origin <github-url> | |
git push origin master | |
git status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment