Github.com to Bitbucket.org: exploiting those free private repos

Straightforward, three lines on the command-line to hit the git remote of bitbucket!

git remote rm origin #Removes old origin
git remote add origin https://[email protected]/your.new.repo #Adds new origin pointing to BitBucket
git push -u origin #Pushes commits to new repo

Leave a Reply

Your email address will not be published. Required fields are marked *