TFS에서 전체 데이터를 다운로드 할 필요없이 기존 폴더 (새 컴퓨터로 이동)를 사용하여 기존 폴더를 매핑하는 방법은 무엇입니까?

StackOverflow https://stackoverflow.com/questions/6055518

문제

이전 버전의 로컬 폴더를 TFS에 매핑했습니다.나는 어떤 이유로 기계 / 컴퓨터를 바꾸어야했습니다.그래서 모든 폴더를 새 컴퓨터에 복사했습니다.

이제 TFS 폴더를 새 컴퓨터의 기존 폴더에 매핑하려고하면 항상 Not Downloaded (VS 2010)의 Latest 열 아래에서 Source Control Explorer를 표시합니다.나는 최신 버전을 얻을 수 있지만 매우 시간이 많이 걸립니다.

누군가가 기존 폴더와 TFS 폴더 간의 관계를 더 적은 시간으로 설정하는 방법을 제안 할 수 있습니까?

도움이 되었습니까?

해결책

What you need is to have a workspace in your new machine that only has the mappings of your folders in TFS. If you just map your folders in your workspace, when you do a get, only files in your folders are downloaded locally, not the entire version control tree in TFS. Since you can copy your folders from one machine to another, downloading them from the server again shouldn't take more time than that.

From Source Control Explorer, let say you use the default workspace:

  1. If you have jus a few folders, right click at each one and choose "Map to Local Folder", then specify the local path.

  2. Alternatively, you can map from the root folder (of your folders), then cloak the ones that you don't want to download. Open the drop-down list of workspaces and choose "Workspaces", then choose to edit your workspace, then you can add and cloak the mappings of your folders like this:

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top