我已经设置了:
git config --global merge.tool meld
git config --global mergetool.meld.path c:/Progra~2/meld/bin/
在 "git mergetool" 命令中,它会写道:
Hit return to start merge resolution tool (meld):
The merge tool meld is not available as 'c:/Progra~2/meld/bin/'
我也尝试了以下路径:
- /c/Progra~2/meld/bin/
- "/c/Program files (x86)/meld/bin/"
- "c:/Program files (x86)/meld/bin/"
结果相同。
当我进入 C:/Program files (x86)/meld/bin/ 并运行时:
python meld
这个工具正在运行。
.gitconfig
的部分内容: https://marcin-chwedczuk.github.io/use-meld-as-git-merge-diff-tool - csharpfolkmeld
替换vimdiff
即可) - Gabriel Staples