我正在尝试使用git-tfs和TFS 2013在TFS中克隆GIT存储库。
git tfs clone http://servername:8080/tfs/DCM "$/Python"给了我:
error: the path $/Python you want to clone doesn't exist!"DCM“是集合的名称,"Python”是项目的名称:

我尝试列出分支:
git tfs list-remote-branches http://servername:8080/tfs/DCM这会产生:
No TFS branches were found!我的直觉是这是一个语法错误,但不确定我做错了什么。
发布于 2018-01-11 07:27:28
作为"git-tfs“的主要开发者,我很高兴您一定要使用它!但这里不需要;-)
您要克隆的存储库已经是一个git存储库(请参阅类似于git website中的红色小git图标)。
git-tfs是一个桥接工具,能够在本地git存储库中导入TFVC历史记录。
所以,你只需要做一个纯粹的git克隆,应该是这样的:
git clone http://servername:8080/tfs/DCM/Python.gitURL由web门户网站提供,位于您所在的页面的右上角。你应该有一个‘克隆’按钮...
https://stackoverflow.com/questions/48196850
复制相似问题