git-difftool

How to setup kdiff3 in Mac OS?

对着背影说爱祢 提交于 2019-11-30 12:04:44
问题 In .gitconfig file I setup up the git diff as follows: [diff] tool = kdiff3 [difftool "kdiff3"] path = path_directory/kdiff3.app In this setting kdiff is not accessible and I get the following error when I run in terminal >> git difftool The diff tool kdiff3 is not available as 'Kdiff_local_software_path/kdiff3.app' fatal: external diff died, stopping at modified_file Do you have any suggestion I can fix this issue ? In my current setup Mac OS 10.10.5 git diff tool is git merge tool that I

How do I view 'git diff' output with my preferred diff tool/ viewer?

拈花ヽ惹草 提交于 2019-11-25 22:33:00
问题 When I type git diff , I want to view the output with my visual diff tool of choice (SourceGear \"diffmerge\" on Windows). How do I configure git to do this? 回答1: Since Git1.6.3, you can use the git difftool script : see my answer below. May be this article will help you. Here are the best parts: There are two different ways to specify an external diff tool. The first is the method you used, by setting the GIT_EXTERNAL_DIFF variable. However, the variable is supposed to point to the full path