您好,欢迎来到二三四教育网。
搜索
您的当前位置:首页配置 git 对比工具为 Beyond Compare

配置 git 对比工具为 Beyond Compare

来源:二三四教育网

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 看看效果吧。

Copyright © 2019- how234.cn 版权所有 赣ICP备2023008801号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务