Skip to content

Instantly share code, notes, and snippets.

View sanPuerquitoProgramador's full-sized avatar

Iván Cabrera sanPuerquitoProgramador

View GitHub Profile
@sanPuerquitoProgramador
sanPuerquitoProgramador / Update remote repo
Last active January 26, 2017 03:18 — forked from mandiwise/Update remote repo
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