git - 在 visualstudio.com 上从 tfs 迁移到 git

标签 git tfs azure-devops

我在 visualstudio.com(一个免费帐户)上有一个远程存储库,但它在 tfs 上,我想将它移动到 visualstudio.com 的 git

有人试过吗?

我找到了这个教程:

http://gitstack.com/how-to-migrate-from-tfs-to-git/

但是其中有一个命令 git tfs clone http://tfs:8080/tfs/DefaultCollection $/TeamProject/git_folder 从 tfs 复制到另一个文件夹并转换为 git。

如何在远程 visualstudio.com 服务器中创建一个单独的 (git) 文件夹?

此外,在执行此操作时,它会要求我的 Windows Live id 进行身份验证,还是有任何命令行命令?

最佳答案

成功了,正确的命令是在 DefaultCollection 之后使用没有项目名称的 https 例如:

git-tfs clone --username=mumair85 --password=xxxx https://mumair85.visualstudio.com/DefaultCollection $/uGen

关于git - 在 visualstudio.com 上从 tfs 迁移到 git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19548659/

相关文章:

git - 修改对共享仓库的 Git 提交

git - 如何在 Git 中提交仅区分大小写的文件名更改?

git - Github 中的 pull 请求的审阅者人数是否有限制?

visual-studio - Visual Studio 从某处检索到项目的不正确路径

c# - TF30063 : You are not authorized . .. 编程访问不起作用

reactjs - 当我尝试推送我的应用程序时,heroku 不断给我这个错误

api - 如何使用TFS API创建新的源代码分支?

visual-studio - 对文件读取强制执行 GetLatest

azure-devops - 在 Azure devops 中跨构建管道共享变量

svn - 有没有办法使用 SVN post commit hook 对 VSTS 构建进行排队?