在visualstudio.com上从tfs迁移到git [英] Migrate from tfs to git on visualstudio.com
问题描述
我在visualstudio.com(一个免费帐户)上有一个远程存储库,但它在tfs上,并且我想将它移动到visualstudio.com的git。
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
任何人都试过这个吗?
我发现本教程:
I found this tutorial:
但是有一个命令 git tfs clone http:// tfs:8080 / tfs / DefaultCollection $ / TeamProject / git_folder
,它从tfs复制到另一个文件夹并转换为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.
如何在远程visualstudio.com服务器上创建单独的(git)文件夹?
How can I create a separate (git) folder in remote visualstudio.com server?
这将它要求我的Windows Live ID进行身份验证或有任何命令行命令?
Also when doing this will it ask for my Windows Live id to authenticate or is there any command-line command?
推荐答案
得到它的工作,正确命令是在DefaultCollection之后使用 https
而没有项目名称,例如:
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
这篇关于在visualstudio.com上从tfs迁移到git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!