Skip to content

Instantly share code, notes, and snippets.

@Klemart3D
Last active July 13, 2017 03:16
Show Gist options
  • Save Klemart3D/126f2dc8f1ede36b11a9267f3494cfe7 to your computer and use it in GitHub Desktop.
Save Klemart3D/126f2dc8f1ede36b11a9267f3494cfe7 to your computer and use it in GitHub Desktop.
Transfer repo from Github to Bitbucket
# 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