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
You can achieve this with the following (I am using Windows, for MAC should be something similar):
%userprofile%.gitconfig
and add in the end
[guitool "diff file"]
cmd = git difftool -y \"$FILENAME\"
noconsole = yes
needsfile = yes
after that in your Git Gui you will see under Tools menu diff file and when you click on it KDiff3 (that would be default difftool for git) will pop with the file differences
Using the same approach you can edit selected item from Git Gui - for this add in global config section
[guitool "file Edit"]
cmd = \"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"$FILENAME\"
noconsole = yes
needsfile = yes