为什么“git difftool”不直接打开工具?(Why does “git difftool” not open the tool directly?)

编程入门 行业动态 更新时间:2024-10-26 17:19:04
为什么“git difftool”不直接打开工具?(Why does “git difftool” not open the tool directly?)

我配置了这样的git :

git config --global diff.tool meld

当我跑:

git difftool

我收到以下消息:

Viewing: 'hello.txt' Hit return to launch 'meld':

然后,如果我按Enter , meld将启动。

如何禁用此消息,以便在输入git difftool之后立即启动git difftool ?

I configured git like this:

git config --global diff.tool meld

When I run:

git difftool

I get the following message:

Viewing: 'hello.txt' Hit return to launch 'meld':

Then, if I press Enter, meld will launch.

How can I disable this message, so that meld will be launched straight away after typing git difftool?

最满意答案

man git-difftool OPTIONS -y, --no-prompt Do not prompt before launching a diff tool. man git-difftool OPTIONS -y, --no-prompt Do not prompt before launching a diff tool.

更多推荐

本文发布于:2023-04-27 12:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1327122.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不直接   工具   difftool   git   open

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!