Mac下Git配置DiffMerge解决冲突
参考文章:
http://twobitlabs.com/2011/08/install-diffmerge-git-mac-os-x/
注意问题:
1、下载时要下载:Download the DiffMerge OS X installer
2、在command中执行命令:
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" "$(if test -f "$BASE"; then echo "$BASE"; else echo "$LOCAL"; fi)" "$REMOTE"'
git config --global mergetool.diffmerge.trustExitCode true
相关推荐
Andrew代码战士 2020-05-15
chaocc0xs 2020-02-09
炼金术士lee 2020-02-03
chaocc0xs 2020-02-02
lhp000 2020-01-19
FlynnZhou 2019-12-31
iamjiyu 2020-01-08
JumpingYeah 2020-01-07
masternan 2013-08-20
LynnOhYeah 2017-08-17
FightingITPanda 2016-01-20
Earlyuan 2017-08-17
好脑筋不如烂笔头 2016-04-20
huangchunxia 2019-07-01
masternan 2019-07-01
IngeniousIT 2019-07-01
lljhi0 2014-12-24