git mergetool配置
虽然xcode内置强大的git 工具。但是当你工程文件冲突时,就不得不在xcode外合并。123456git config --global merge.tool diffmergegit config --global mergetool.diffmerge.cmd "/Applications/DiffMerge.app/Contents/MacOS/diffmerge --merge --result=\$MERGED \$LOCAL \$BASE \$REMOTE"git config --global mergetool.keepBackup false git config --global diff.tool diffmergegit config --global difftool.diffmerge.cmd "/Applications/DiffMerge.app/Contents/MacOS/diffmerge \$LOCAL \$REMOTE" 安装diffmerge
在git仓库目录下运行 git mergetool 就可以了
页:
[1]