git diff side-by-side

Set a diff tool of your choice:

git difftool --tool=vimdiff

Or write it to ~/.gitconfig:
tool = vimdiff

Now you can see your changes in the vimdiff tool by running:
git difftool

Share

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *