的Windows混帐difftool无法解析与空间

问题描述:

在Windows中,从Git的MSYS命令行extcmd路径,我想运行此命令:的Windows混帐difftool无法解析与空间

git difftool --extcmd=/C/Program Files/Beyond Compare 4/Bcomp.exe -- file_to_diff.ext 

我挣扎有extcmd参数正确分析。

我发现写命令的正确方法:

git difftool -y --extcmd="'/C/Program Files/Beyond Compare 4/BComp.exe'" -- file_to_diff.ext 

注意双引号,然后单引号。