2017-03-19 7 views
0

Using Beyond Compare with Version Control Systems under OS X 용도 :"git config --global mergetool.bc3 trustExitCode true"올바른 git-config 사용법은 무엇입니까?

git config --global mergetool.bc3 trustExitCode true 

그러나 Using Beyond Compare with Version Control Systems 사용은 :

git config --global mergetool.bc3.trustExitCode true 

나는 git-config에 대한 설명을 찾을 수 없기 때문에 git config의 첫 번째 사용이 잘못되었다고 생각합니다. 내 이해가 맞습니까?

답변

2

힘내 의사를 읽음으로써 귀하의 이해가 정확하다고 생각합니다.

Git configuration chapter of the official 문서에는 외부 병합 및 비교 도구이라는 섹션이 있습니다.

git config --global merge.tool extMerge 
git config --global mergetool.extMerge.trustExitCode false 

extMerge

이 래퍼 스크립트를 의미하지만, 구문이 지원되는 모든 도구 (gvimdiff, kdiff3, 융합, vimdiff, 그리고 tortoisemerge에 대해 동일합니다 :

그것에서는, 당신은 구성의 다음 행을 찾을 수 있습니다).