Skip to content

Instantly share code, notes, and snippets.

@sanPuerquitoProgramador
Forked from mandiwise/Update remote repo
Last active January 26, 2017 03:18
Show Gist options
  • Save sanPuerquitoProgramador/781ae5001b43aabbe14aa83cc68552c7 to your computer and use it in GitHub Desktop.
Save sanPuerquitoProgramador/781ae5001b43aabbe14aa83cc68552c7 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/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push --set-upstream origin master
$ git remote rm bitbucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment