1. 安装beyond compare
2. 安装beyond compare command line
menu -> Install Command Line Tools
3. 下载git-diffall
https://github.com/thenigan/git-diffall
4. 安装git-diffall
cp git-diffall $(git --exec-path)
5. vi ~/.gitconfig 添加
[color]
ui = auto
[diff]
tool = bc3
[difftool]
prompt = false
[difftool "bcompare"]
cmd = bcompare "$LOCAL" "$REMOTE"
[alias]
diffall = diffall-org --copy-back
co = checkout
[merge]
tool = bc3
[mergetool]
prompt = false
git config --global diff.tool bc3
6. enjoy it
git diffall tag1 tag2
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)