Skip to content

Instantly share code, notes, and snippets.

@thiagomgo
Forked from mandiwise/Update remote repo
Last active January 25, 2019 19:59
Show Gist options
  • Save thiagomgo/fd78a48cfd574df06a1535fdf52573c6 to your computer and use it in GitHub Desktop.
Save thiagomgo/fd78a48cfd574df06a1535fdf52573c6 to your computer and use it in GitHub Desktop.
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment