23

尝试使用 git 启动 Beyond Compare 时,出现此错误:

diff 工具 bc3 不能用作“bcompare”

致命的:外部差异死了,停在 plugins/PushPlugin.m

设置差异工具:

$ git config --global diff.tool bc3

尝试比较目录:

$ git difftool plugins

Viewing (1/2): 'plugins/PushPlugin.m'
Launch 'bc3' [Y/n]: y
4

2 回答 2

42

启动 Beyond Compare,转到 Beyond Compare 菜单并运行安装命令行工具。

于 2015-07-02T14:37:39.130 回答
1

根据官网:踏板车软件:超越比较

启动 Beyond Compare,转到 Beyond Compare 菜单并运行安装命令行工具。

差异在终端:

git config --global diff.tool bc3

要使用 Beyond Compare 启动 diff,请使用命令:git difftool file.ext

仅合并 Pro 在终端中:

git config --global merge.tool bc3
git config --global mergetool.bc3.trustExitCode true

要使用 Beyond Compare 启动 3 路合并,请使用命令:git mergetool file.ext

于 2020-10-13T02:13:46.440 回答