Last active
July 13, 2017 03:16
-
-
Save Klemart3D/126f2dc8f1ede36b11a9267f3494cfe7 to your computer and use it in GitHub Desktop.
Transfer repo from Github to Bitbucket
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
# Invert ref from : https://gist.github.com/mandiwise/5954bbb2e95c011885ff | |
cd $HOME/code/repo-directory | |
git remote rename origin github | |
git remote add origin https://[email protected]/Klemart3D/awesome-new-repo.git | |
git push -u origin master | |
... | |
git remote rm github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment