Created
August 3, 2012 16:28
-
-
Save marknorgren/3249215 to your computer and use it in GitHub Desktop.
add remote repo
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
#Setting up a public repository | |
##In the remote location create a bare repo: | |
git init bare | |
##In the local repo, add remote reference | |
git remote add ‘nameOfRemote’ ‘URL to remote’ //note if this is default remote use ‘origin’ for name | |
##Push your new local repo to this remote | |
git push --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment