Why doesn't 'git diff' invoke external diff tool?

Because "git difftool" does!

But how?

Default, git difftool is not related to any merge tool, of course. We have to do it on our own. I am using ubuntu and as far as I experienced, meld is a good choice to use with git difftool. Following command will make meld is default merge tool.

git config --global --add diff.tool meld

When git difftool is executed, that will ask user each of changed files in order.

git difftool

If you want to investigate changes in a specific commit, you can use the command below.

git difftool commit_hash{^,}

take care!

Popular posts from this blog

SoapUI 4.5.0 Project XML File Encoding Problem

COMRESET failed (errno=-32)

SoapUI - Dynamic Properties - Getting Current Time in DateTime Format