Reputation: 215
I have migrated my repository from Github to Bitbucket. How do I point my local branch from github to bitbucket?
Upvotes: 5
Views: 4499
Reputation: 4293
if you have existing git setup then go to .git folder and find gitconfig file and replace the github url inside that with bitbucket url.
Upvotes: 0
Reputation: 38639
From https://git-scm.com/docs/git-remote
git remote set-url [--push] <name> <newurl> [<oldurl>]
so just do e. g. git remote set-url origin <bitbucket url>
Upvotes: 8