【发布时间】:2018-06-20 04:19:03
【问题描述】:
我正在尝试使用 TFS 2013 使用 git-tfs 在 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!
我的直觉是这是一个语法错误,但不确定我做错了什么。
【问题讨论】:
-
Team Foundation Server (TFS) 是一个包含代码托管(TFVC 和 Git)的平台。它是 VSTS 的本地版本。 TFVC 是 Team Foundation 版本控制,它是 TFS 和 TFVC 中可用的集中式版本控制系统。尽管名称如此,但对于托管在 TFS 中的 git 存储库,git-tfs 并不是必需的。只有 TFVC 存储库才需要它。你只需要使用 git。