阅读本文档后,我得到的印象是,我应该能够使用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
个项目。
我提供的服务器名称有什么问题?