Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
external = git_diff_wrapper.bat
diff =
path\to\gvim.exe -d "%2" "%5"

hotoo commented Jul 31, 2010

Windows 下用 gvim 的 diff 查看 git diff

  1. 把 .gitconfig 的内容加入到 .gitconfig 中;
  2. 把 git_diff_wrapper.bat 保存到 $PATH 环境变量所在目录。


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment