Created
August 24, 2013 03:18
-
-
Save DerekK19/6325859 to your computer and use it in GitHub Desktop.
Add existing repo to Github
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
# Create a repo on github. Assume it's called "MyRepo" and your git username is "gitUser" | |
# set up the current foder to be a git repo | |
git init | |
git add . | |
git commit -m 'Initial commit' | |
git remote add origin https://github.com/gitUser/MyRepo.git | |
git pull origin master | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment