2017-11-01 4 views
1

변경 내역을 보존하면서 TFS2013에서 로컬 git repo로 단일 분기를 마이그레이션/변환하려고합니다.트러블 복제 repo from TFS2013

내가 얻을 git-tfs list-remote-branches http://tfsserv:8080/tfs/defaultcollection을 실행하고 난 후 해요 REPO를 볼 수 있지만 내가 tfsserv 내 TFS 서버입니다 git-tfs clone http://tfsserv:8080/tfs/DefaultCollection/Brand%20It/Main/ $/BrandIt/Main을 실행하려고 할 때, Brand It은 TFS의 프로젝트이며 Main가 난 후 지점입니다 수 있습니다 다음과 같은 오류 :

Initialized empty Git repository in C:/Users/bellhousem/Desktop/GitTfs-0.27.0/Main/.git/ 

TF31002: Unable to connect to this Team Foundation Server: http://tfsserv:8080/tfs/defaultcollection/Brand It/Main/. 
Team Foundation Server Url: http://tfsserv:8080/tfs/defaultcollection/Brand It/Main/. 

Possible reasons for failure include: 
- The name, port number, or protocol for the Team Foundation Server is incorrect. 
- The Team Foundation Server is offline. 
- The password has expired or is incorrect. 

Technical information (for administrator): 
The remote server returned an error: (404) Not Found. 
The remote server returned an error: (404) Not Found. 
All the logs could be found in the log file: C:\Users\myname\AppData\Local\git-tfs\git-tfs_log.txt 

는 지금까지 내가 here 또는 here을 볼 수있는, 내가 올바른 명령을 사용하고 생각합니다. 누구든지 내가 잘못하고 있을지도 모른다는 생각을 가지고 있습니까?

+0

지? 네가해야한다고 생각해! – Philippe

답변

1

잘못된 Team Foundation Server URL을 지정했습니다.이 URL은 컬렉션 URL이어야합니다.

"http://tfsserv:8080/tfs/defaultcollection/Brand It/Main/"

그냥 명령 아래 시도 : 당신이 복제 명령 줄에 사용자 이름과 암호를 제공

git tfs clone http://tfsserv:8080/tfs/DefaultCollection $/BrandIt/Main 
+0

내 실수는 솔루션 위치 경로가 수집 위치 URL의 일부로 포함되어야한다고 생각한 것이 었습니다. – meataxe