Ste*_*all 8 git beyondcompare git-config
git config --global mergetool.bc3 "\"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\""
git mergetool
/usr/lib/git-core/git-mergetool--lib: line 116: bcompare: command not found
这是非常奇怪的,因为这两个./.git/config和~/.gitconfig看起来是正确的.都没有列出条目bcompare.可以从的git比其他任何地方读取或存储配置.git/config还是~/.gitconfig?
And*_*ndy 15
看起来像这个家伙一样的问题.看来bc3是内置工具名称,git不允许覆盖该名称.尝试使用bc3以外的名称.
我使用了"BeyondCompare3"
[mergetool "BeyondCompare3"]
path = C:/Program Files/Beyond Compare 3/bcomp.exe
cmd = \"C:/Program Files/Beyond Compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
Run Code Online (Sandbox Code Playgroud)