Misha Moroshko Misha Moroshko - 3 months ago 8
Git Question

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

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
window is opened.

How could I disable this message, so that the
meld
window will be opened straight away after typing
git difftool
?

Answer
man git-difftool

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