Git要求按返回按钮以逐个打开每个冲突文件的mergetool:

> git mergetool
Normal merge conflict for '...':
  {local}: modified file
  {remote}: modified file
Hit return to start merge resolution tool (opendiff):

如何避免项目的返回步骤,而仅自动打开配置的 merge 工具?

最佳答案

使用-y标志。从documentation:

关于git - 如何跳过 “Hit return to start merge resolution tool”并自动打开mergetool,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/18410889/

10-09 09:00