git 与 Beyond Compare
2022-08-05 本文已影响0人
炫子_260f
git
中添加 Beyond Compare
作为 difftool
和mergetool
difftool
1. 查看是否允许bc
作为比较工具
git difftool --tool-help
返回:

包含
bc
、bc3
、 bc4
所以可以可以配置
2. 配置difftool
git config --global diff.tool bc4
git config --global difftool.bc4.path "C:\Program Files\Beyond Compare 4\BComp.exe"
.gitconfig
文件中也已经配置好了

3. 使用
git difftool

就可以愉快使用bc作为比较工具查看了。