`

Mac下Git配置DiffMerge解决冲突

    博客分类:
  • mac
 
阅读更多

 

参考文章:

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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics