Skip to content

Instantly share code, notes, and snippets.

View haseebjkhan's full-sized avatar
🎯
Focusing

Haseeb Jamil Khan haseebjkhan

🎯
Focusing
View GitHub Profile
@haseebjkhan
haseebjkhan / Update remote repo
Created February 7, 2019 18:35 — 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 origin master
$ git remote rm bitbucket