MacOS。有没有办法直接打开比较,跳过`Launch 'bc3' [Y/n]?`
Mac OS. Is there a way to open compare directly, skip the `Launch 'bc3' [Y/n]?`
我正在使用 Beyond compare 并将其设置为 git 合并工具。
现在我遇到一个问题,每次我输入命令行git difftool
。
下面的代码显示:
Viewing (1/3): 'followUpTeam.html'
Launch 'bc3' [Y/n]?
我正在使用 iMac 和 Beyond compare 4。
有没有办法直接打开compare,跳过Launch 'bc3' [Y/n]?
.
您可以通过将 -y
/ --no-prompt
参数传递给它来指示 git difftool
不提示您进行单次调用:
git difftool -y
如果您不想被提示,您可以使用 difftool.prompt
设置:
git config [--global] difftool.prompt false
与 git config
一样,--global
设置可用于为所有存储库设置默认值(在 ~/.gitconfig
中)或省略它以设置特定的值存储库(在该存储库的 .git/config
文件中)。
我正在使用 Beyond compare 并将其设置为 git 合并工具。
现在我遇到一个问题,每次我输入命令行git difftool
。
下面的代码显示:
Viewing (1/3): 'followUpTeam.html'
Launch 'bc3' [Y/n]?
我正在使用 iMac 和 Beyond compare 4。
有没有办法直接打开compare,跳过Launch 'bc3' [Y/n]?
.
您可以通过将 -y
/ --no-prompt
参数传递给它来指示 git difftool
不提示您进行单次调用:
git difftool -y
如果您不想被提示,您可以使用 difftool.prompt
设置:
git config [--global] difftool.prompt false
与 git config
一样,--global
设置可用于为所有存储库设置默认值(在 ~/.gitconfig
中)或省略它以设置特定的值存储库(在该存储库的 .git/config
文件中)。