-
-
Save raypereda/b5a353f26dad7db6c782d2d58b8ea447 to your computer and use it in GitHub Desktop.
Transfer repo from Bitbucket to TFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/ | |
// See also: http://www.paulund.co.uk/change-url-of-git-repository | |
// These are steps for moving a git repo from Bitbucket to TFS | |
// 1. add your SSH keys to the TFS project (google for a guide) | |
// 2. follow the steps below | |
git clone git@bitbucket.org:<bitbucket_user>/<repo_name>.git | |
cd repo_name | |
git remote rename origin bitbucket | |
git remote add origin https://tfc.molina.mhc/tfs/<collectionname1><collection1>/<project1>/_git/<project1>.git | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment