如何跳过“点击返回以开始合并分辨率工具”并自动打开mergetool [英] How to skip "Hit return to start merge resolution tool" and open mergetool automatically

查看:296
本文介绍了如何跳过“点击返回以开始合并分辨率工具”并自动打开mergetool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



 > 

git mergetool
'...'的正常合并冲突:
{local}:修改文件
{remote}:修改文件
打开返回以启动合并解析工具(opendiff) :

如何避免我的项目的命中返回步骤,并自动打开配置的合并工具? 使用 -y 标志。 文档


-y

- no-prompt

每次调用合并解析程序前都不要提示。


Git asking to hit return button to open the mergetool for each conflict file one by one:

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

How can I avoid the hitting return step for my project and just open the configured merge tool automatically?

解决方案

Use the -y flag. From the documentation:

-y
--no-prompt
Don’t prompt before each invocation of the merge resolution program.

这篇关于如何跳过“点击返回以开始合并分辨率工具”并自动打开mergetool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆