gpt4 book ai didi

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

转载 作者:IT王子 更新时间:2023-10-29 01:27:13 27 4
gpt4 key购买 nike

我在 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com