Created
October 23, 2013 22:16
-
-
Save umair-me/7127738 to your computer and use it in GitHub Desktop.
Migrate or Clone tfvc tfs to git using git-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
http://gitstack.com/how-to-migrate-from-tfs-to-git/ | |
http://stackoverflow.com/questions/19548659/migrate-from-tfs-to-git-on-visualstudio-com/19550144 | |
git-tfs clone --username=mumair85 --password=xxxx https://mumair85.visualstudio.com/DefaultCollection $/uGen | |
After that clone the new repository or Push an existing repository | |
From Visual Studio | |
You can Push a repository after connecting with Team Explorer and adding the Git repo to your list of Local Git Repositories. | |
From the command line | |
You can push the project using the following commands: | |
git remote add origin https://mumair85.visualstudio.com/DefaultCollection/_git/PROJECTNAME | |
git push -u origin --all | |
Note, before you can use the command line, you'll need to enable basic authentication for your account in tfs.visualstudio.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment