Не удается клонировать / перечислить репозиторий TFS
Читая этот документ, у меня сложилось впечатление, что я должен иметь возможность использовать 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
с несколькими проектами.
Что не так с именем сервера, которое я предоставляю?
1 ответ
Решение
Вы используете неправильный URL, отсутствие /
и название коллекции. Попробуй это:
git tfs list-remote-branches https://scm.domain.com:8443/tfs/DefaultCollection