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