如何在MacOS上安装Meld,然后将其设置为git中的扩散工具和合并工具?
发布于 2017-05-09 11:42:38
.dmg包:OSX Meld~/.gitconfig并添加以下行,将meld设置为您的git扩散工具/mergetool,如上面的链接所述:
trustExitCode = true cmd = -W -a meld -args \"$LOCAL\“\"$PWD/$REMOTE\”-产出=“$PWD/$$LOCAL\\”-$LOCAL\=“$PWD/$REMOTE\”-产出=“$PWD/$ merge \”git difftool命令比较和编辑修订之间的文件。发布于 2019-02-07 21:38:34
来自Mac塞拉利昂(10.13.6),Git 2.12.2
安装Meld
brew tap homebrew/cask
brew cask install meld
集Meld为Git Mergetool
git config --global merge.tool meld
git config --global diff.guitool meld
发布于 2021-03-12 05:03:41
从2021开始的工作解决方案
安装
brew tap homebrew/caskbrew install --cask meld设置
git config --global merge.tool meldgit config --global diff.guitool meld用法
git mergetool # When file conflicts happen during mergehttps://stackoverflow.com/questions/43317697
复制相似问题