我正在使用mergetool来增强关于合并冲突的文件修改。我希望在没有提示的情况下使用mergetool。
See 'git mergetool --tool-help' or 'git help config' for more details.
'git mergetool' will now attempt to use one of the following tools:
tortoisemerge emerge vimdiff
Merging:
mergefile.txt
Deleted merge conflict for 'mergefile.txt':
{local}: modified file
{remote}: deleted
Use (m)odified or (d)eleted file, or (a)bort?发布于 2020-01-25 03:11:12
git config mergetool.prompt false这将在每次发生合并冲突时禁用使用合并工具的提示。
但是,该特定输出是而不是,提示您使用合并工具。当合并冲突是已删除合并冲突时,不使用合并工具,即文件在一侧被修改,而在另一侧被删除。没有任何东西可以与合并工具相比较,因为其中一端将是完全空的。解决方案是在命令行上使用m/d/a选择一个选项来回答该问题。
https://stackoverflow.com/questions/59891794
复制相似问题