source tree 配置 外部差异比对工具为beyond compare

1、首先,安装好beyond compare后,创建一个快捷方式

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

2、打开source tree,在系统偏好设置里面,找到diff,按照下面的进行配置:

Visual Diff Tool: Other
Diff Command:/usr/local/bin/bcomp
Parameters:-ro $LOCAL $REMOTE
Merge Tool: Other
Merge Command:/usr/local/bin/bcomp
Parameters:$LOCAL $REMOTE $BASE $MERGED

你可能感兴趣的:(source tree 配置 外部差异比对工具为beyond compare)