【发布时间】:2017-08-05 08:30:05
【问题描述】:
阅读此文档后,我觉得我应该能够使用 git-tfs 获取 TFS 存储库的内容以克隆一些分支:https://github.com/git-tfs/git-tfs/blob/master/doc/usecases/manage_tfs_branches.md
尝试了这些命令:
C:\Workspace.Git\Corp>git tfs list-remote-branches https:/scm.domain.com:8443/tfs
Given tfs name is not correct URI and not found as a registered TFS instance
C:\Workspace.Git\Corp>git tfs list-remote-branches https:/scm.domain.com:8443/tfs/DefaultCollection
Given tfs name is not correct URI and not found as a registered TFS instance
C:\Workspace.Git\Corp>git tfs list-remote-branches scm.domain.com
Given tfs name is not correct URI and not found as a registered TFS instance
https:/scm.domain.com:8443/tfs 是我在 Visual Studio 2012 中用于连接 TFS 的服务器地址。它有 DefaultCollection 和几个项目。
我提供的服务器名称有什么问题?
【问题讨论】:
-
你没有忘记 uri 中 'https://' 协议的 '/' 吗?
-
是的,我确实做到了!
-
@ajeh 你的问题解决了吗?确保您也可以在 IE 浏览器中通过
https://scm.domain.com:8443/tfs/DefaultCollection访问该集合。
标签: visual-studio-2012 tfs git-tfs