Created
March 4, 2013 19:38
-
-
Save jonathanmoore/5084856 to your computer and use it in GitHub Desktop.
A useful set of commands to switch over to Github as a new remote.
This file contains hidden or 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 remote rm origin | |
git remote add origin [email protected]:user/repo.git | |
git push -u origin master | |
git push --all | |
git push --tags |
Author
jonathanmoore
commented
Mar 4, 2013
- remove your existing GIT origin
- add your new remote on Github
- push the master
- push all other branches
- push all of the tags
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment