I have a remote repository on visualstudio.com (a free account) but its on tfs, and I want to move it to git for visualstudio.com
Has anyone tried this yet?
I found this tutorial:
http://gitstack.com/how-to-migrate-from-tfs-to-git/
But in that there is a command git tfs clone http://tfs:8080/tfs/DefaultCollection $/TeamProject/git_folder
which copies from tfs to another folder and converts to git.
How can I create a separate (git) folder in remote visualstudio.com server?
Also when doing this will it ask for my Windows Live id to authenticate or is there any command-line command?
Got it working, correct command is to use https
without project name after DefaultCollection here for example:
git-tfs clone --username=mumair85 --password=xxxx https://mumair85.visualstudio.com/DefaultCollection $/uGen
If you use the Git Credential Manager for Windows (which is included in recent versions of Git for Windows), then it will prompt you to login to Visual Studio Team Services and set up authentication for you. You do not need to manually set up alternate authentication tokens.
To use git
(without the Git Credential Manager), git-tfs
or git-tf
, you'll need to set up Alternate Credentials for your Team Foundation Service account:
- Click on your name in the upper right of any TFS web page
- Select the "Credentials" tab
- Select "Enable Alternate Credentials"
- Enter a new username and password combination
You can then use this username/password combination for authentication from command-line applications.