While perusing the post, “A few of my Git tricks, tips and workflows” I saw the author output his git diff information to an external tool. I wanted to do the same thing, but to vimdiff. After a very short googling, I ran across the following solution on StackOverflow:
git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global alias.d difftool[/code]
Setting it up this way allows you to use “git diff” as normal, but if you want see the diff in Vim, use “git d” instead of “git diff”.</p>