Skip to content

Instantly share code, notes, and snippets.

@rightson
Created November 14, 2017 13:03
Show Gist options
  • Save rightson/2040a8b8659d7adc8e67d0294aa425c3 to your computer and use it in GitHub Desktop.
Save rightson/2040a8b8659d7adc8e67d0294aa425c3 to your computer and use it in GitHub Desktop.
git diff with vim
git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global alias.vimdiff difftool
# Usage: git vimdiff
# git vimdiff --cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment