瀏覽代碼

git: difftool

Fabian Peter Hammerle 9 年之前
父節點
當前提交
dc6daf9034
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      setup

+ 2 - 0
setup

@@ -12,6 +12,8 @@ if [[ $git_version == 1.9* ]]; then
     git config --global push.default simple
 fi
 
+git config --global diff.tool vimdiff
+
 # aliases
 git config --global alias.branches "branch --all"
 git config --global alias.tree "log --graph --abbrev-commit --decorate --format=format:'%C(red)%h%C(reset)%C(bold red)%d%C(reset) %C(dim green)(%ar)%C(reset) %C(bold black)%s%C(reset) %C(dim white)(%an)%C(reset)' --all"