Skip to content

Instantly share code, notes, and snippets.

@jackofseattle
Forked from mandiwise/Update remote repo
Last active February 7, 2018 13:50
Show Gist options
  • Save jackofseattle/15ed2c5c03b01ba48fcbad4c319fcfe9 to your computer and use it in GitHub Desktop.
Save jackofseattle/15ed2c5c03b01ba48fcbad4c319fcfe9 to your computer and use it in GitHub Desktop.
Transfer repo from Bitbucket to Github
git remote rename origin bitbucket
git remote add origin {new repo url}
git push origin --all
$ git remote rm bitbucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment