이 작업을 수행하는 데있어 굉장한 방법이 있습니다. git tfs는 git config를 사용하여 TFS 영역에 대한 인식을 관리합니다. 특히 remote
마다 세 가지 속성이 있습니다. 예를 들어, URL, 저장소 및 가져 오기는 :
tfs-remote.default.url=http://tfsserver:8080/tfs/collection
tfs-remote.default.repository=$/Product/Branch/Component
tfs-remote.default.fetch=refs/remotes/default/master
당신은 default
에 다른 이름으로 다시이 세 속성을 설정하여 다른 remote
를 추가 할 수 있습니다. 예 :
tfs-remote.feature_branch.url=http://tfsserver:8080/tfs/collection
tfs-remote.feature_branch.repository=$/Product/FeatureBranch/Component
tfs-remote.feature_branch.fetch=refs/remotes/default/feature_branch
이제 git tfs bootstrap
을 발급해야 할 수 있습니다.
그런 다음 문제가 있습니다 : 당신은 (branch
명령) TFS 지점을 관리 할 수 있습니다, 자식-TFS 0.16 이후
git merge tfs/feature_branch
왜 git tfs가 필요합니까? –
더 많은 충돌을 자동으로 해결할 것으로 보이므로 git merge 알고리즘을 사용하는 것을 선호합니다. – Ceilingfish