我已经配置Sourcegear DiffMerge使用下面的说明是我的默认的git合并工具:问题的混帐+ DiffMerge在OS X
git config --global diff.tool diffmerge
git config --global difftool.diffmerge.cmd "diffmerge \"\$LOCAL\" \"\$REMOTE\""
git config --global merge.tool diffmerge
git config --global mergetool.diffmerge.cmd "diffmerge --merge --result=\"\$MERGED\"
\"\$LOCAL\" \"\$BASE\" \"\$REMOTE\""
git config --global mergetool.diffmerge.trustexitcode false
来源:http://www.andrejkoelewijn.com/wp/2010/01/08/configure-diffmerge-with-git/
然而,当我运行git mergetool
我得到的以下错误:
可能是什么这个问题的原因是什么?
将具有中间脚本帮助?正如在http://stackoverflow.com/questions/3780420/is-it-possible-to-use-winmerge-to-view-git-diffs-from-cygwin/4314057#4314057 – VonC 2010-12-14 13:39:08
你能够运行diffmerge命令在使用git的终端之外? – brycemcd 2010-12-14 16:04:10
我看到同样的事情。 BASE文件不存在于本地文件系统中,但diffmerge命令行中引用的其他文件(在本例中为10new.xml.REMOTE.2128.xml和10new.xml.LOCAL.2128.xml)确实存在。 DiffMerge对Git行为的期望(可能是Git版本行为)的问题? – 2010-12-19 23:39:30