Misha Moroshko Misha Moroshko - 1 year ago 75
Git Question

Why does "git difftool" not open the tool directly?

I configured

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,
will launch.

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

Answer Source
man git-difftool

   -y, --no-prompt
       Do not prompt before launching a diff tool.