Git 要求按返回按钮一一打开每个冲突文件的合并工具:
> git mergetool
Normal merge conflict for '...':
{local}: modified file
{remote}: modified file
Hit return to start merge resolution tool (opendiff):
如何避免我的项目点击返回步骤并自动打开配置的合并工具?
要永久跳过提示,请运行:
git config --global mergetool.prompt false
跳过它进行单次运行git mergetool
, pass -y
or --no-prompt
:
git mergetool -y
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)