Search code examples
gitgit-gui

Launch diff tool from Git GUI


I am exploring using the Git GUI software the is default bundled with git.

From the unstaged changes window, I would like to select a file and then launch it in an external side by side diff tool like kdiff.

I can not figure out how to do this. Is it possible to do this?

Thanks


Solution

  • Unfortunately git gui does not seem to provide this option inside the default window where you look at the unstaged changes, where the diff is line by line. For that purpose there exists a specific separate command called git difftool.

    Since there doesn't seem to be a yes to your question, an alternate solution I would suggest is to show a side-by-side diff with an external tool (e.g. meld or kdiff3 or type git difftool --tool-help for more) from the command line like follows:

    git difftool --tool=meld [optional_filename]

    I recommend meld as it seems the most intuitive I have found.