2017-03-14 5 views
0

: https://github.com/git-tfs/git-tfs/blob/master/doc/usecases/manage_tfs_branches.md수없는 TFS의 REPO 내가 몇 가지 복제 위해 TFS의 환매 특약의 내용을 얻기 위해 자식-TFS를 사용할 수 있어야 인상있어이 문서 읽기

는 이러한 시도를 명령 : https:/scm.domain.com:8443/tfs 내가 TFS에 연결하는 비주얼 스튜디오 2012에서 사용하는 서버 주소입니다

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 

합니다. 여러 프로젝트가있는 DefaultCollection입니다.

내가 제공하는 서버 이름이 잘못되었습니다.

+3

당신이 잊지 않았다 같은 정보를 얻을 것인가 'https : //로'는 URI의 프로토콜? – Philippe

+0

예, 확실했습니다! – ajeh

+0

@ajeh 문제가 해결 되었습니까? IE explorer에서'https : //scm.domain.com : 8443/tfs/DefaultCollection'에 의해 콜렉션에 접근 할 수 있는지 확인하십시오. –

답변

1

/컬렉션 이름이 인 잘못된 URL을 사용하고 있습니다. 이 시도 :

git tfs list-remote-branches https://scm.domain.com:8443/tfs/DefaultCollection 

가에 대한 '/'아래 스크린 샷 enter image description here