Open your .gitconfig
and put this into the file:
[merge]
tool = extMerge
[mergetool "extMerge"]
cmd = extMerge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
trustExitCode = false
Then, run this wnen you need to merge some modifications:
git mergetool
The same with diff. Instead of viewing diff in the console you may view and
edit modifications in the extDiff window. Put this into .gitconfig
:
[diff]
external = extDiff
Then, run this:
git diff
Also, git gui
and gitk
commands might be found useful by some users
when working with git.