Say Web Solutions

Vimdiff a File From Another Git Branch

Vim vimdiff Git git difftool

Command to Compare File Against a Different Branch

git difftool staging -- app/FdaDrug.php.php

In this example:

How to Set Vimdiff as Git's Diff Tool

git config --global diff.tool vimdiff

Comments