Android Utils跬步集

配置 git 对比工具为 Beyond Compare

2017-11-27  本文已影响40人  几千里也

1. 安装 Beyond Compare

我 Mac 上用的是 Version 4.2.3 (build 22587)

2. 配置 Beyond Compare 命令行工具

Beyond Compare -> Install Command Line Tools -> 填写电脑密码 -> Successfully installed command line tools. -> OK
此时可以用 bcomp file1 file2 比较文件了

3. 配置 git 对比工具

git config --global diff.tool bc3 
git config --global merge.tool bc3
git config --global difftool.prompt false

快在终端里键入 git difftool 看看效果吧。

上一篇下一篇

猜你喜欢

热点阅读