When I open Git Extensions, the result is like this:
I try to repair it. I click the repair button. But there isn't any action.
I get some reference: Git: How can I configure KDiff3 as a merge tool and diff tool?.
I try it like this:
But it does not work.
How can I solve this problem?
Add the kdiff3 installation directory to the Windows Path. Add TMP to the WSLENV Windows environment variable (WSLENV=TMP/up). The TMP dir will be used by git for temporary files, like previous revisions of files, so the path must be on the windows filesystem for this to work. Set TMPDIR to TMP in .
Navigate to the following path: "C:\Program Files\KDiff3\kdiff3.exe".
Check if KDiff3 is installed and in which folder (to verify the path).
I was also getting the same problem and had run the mentioned Git commands, but it didn't help. Later I realized that my KDiff3 is installed under "Program Files (x86)" folder, not "Program Files".
I have changed the folder name in Git commands, for example:
Instead of
git config --global --add mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
I used the below and executed it again:
git config --global --add mergetool.kdiff3.path "C:/Program Files (x86)/KDiff3/kdiff3.exe"
And it solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With