1、先安装好BeyondCompare(请支持正版)


2、打开SourceTree的Preferences 
选择Diff 在下面的External Diff/Merge 中如下设置


Visual Diff Tool: Other

Diff Command: /usr/local/bin/bcomp

Arguments: $LOCAL $REMOTE


Merge Tool: Other

Merge Command: /usr/local/bin/bcomp


Arguments: $LOCAL $REMOTE $BASE $MERGED


Mac SourceTree配置Beyond Compare比较工具_bc

3、打开终端 输入命令

ln -s /Applications/Beyond\Compare.app/Contents/MacOS/bcomp /usr/local/bin/