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:
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?
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
orgit-tf
, you'll need to set up Alternate Credentials for your Team Foundation Service account:You can then use this username/password combination for authentication from command-line applications.
Got it working, correct command is to use
https
without project name after DefaultCollection here for example: