Take the 2-minute tour ×  I added this in ~/.gitconfig:
external = mvimdiff      prompt = false  and made a 755
/bin/mvimdiff that:   mvim -d "$2" "$5"  in order to invoke
MacVim as my git diff tool. But when I run command git diff in a
git folder, it still output the result from normal diff to
shell. No MacVim at all. I am sure that no .git/config overwrite
the .gitconfig, and I have tried to restart my computer to
refresh. Why doesn't the config work?  Thank you.  share|improve
this question  migrated from stackoverflow.com Nov 16 '12 at
20:13  This question came from our site for professional and
enthusiast programmers.  1 Answer 1  up vote 2 down vote
accepted  You may be better off using git difftool to invoke an
“interactive” diff tool. For example:  Adapt the built-in
gvimdiff tool to mvim:  git config --global diff.tool gvimdiff
git config --global difftool.gvimdiff.path mvim  Or, configure
mvimdiff from scratch:  git config --global diff.tool mvimdiff
git config --global difftool.mvimdiff.cmd 'm