[diff]
tool = bc4
[difftool]
prompt = false
[difftool "bc4"]
cmd = "\"D:\\Program Files\\Beyond Compare 4\\BComp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\""
注意:路径用 \\ 而不是 \
[diff]
tool = bc4
[difftool]
prompt = false
[difftool "bc4"]
cmd = "\"D:\\Program Files\\Beyond Compare 4\\BComp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\""
注意:路径用 \\ 而不是 \