2
我想設置trustExitCode
爲false,並keepTemporaries
爲true,但它不工作...我不underestand原因。這裏是我的~/.gitconfig
:爲什麼我的Git mergetool配置不起作用?
[merge]
conflictstyle = diff3
tool = p4merge
[mergetool]
keepTemporaries = true
keepBackup = true
trustExitCode = false
[mergetool "p4merge"]
trustExitCode = false
keepTemporaries = true
[mergetool "mymeld"]
cmd = meld --diff $BASE $LOCAL --diff $BASE $REMOTE --diff $LOCAL $MERGED $REMOTE
trustExitCode = false
keepTemporaries = true
[mergetool "myp4merge"]
cmd = p4merge $BASE $LOCAL $REMOTE $MERGED
trustExitCode = false
keepTemporaries = true
當我節省一些修改,無論是與p4merge,myp4merge或mymeld,Git不會問我的預期「是合併成功[Y/N]?」,不離開file.BASE,file.REMOTE,...
我無法找到錯誤...
這似乎並不爲我工作... – janou195