From 5b1538efbd0c8fd369312155d4ad2e28b4d9b01e Mon Sep 17 00:00:00 2001 From: Yachi Lo Date: Tue, 3 Jan 2017 11:01:54 +0800 Subject: [PATCH] update .gitconfig --- .gitconfig | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitconfig b/.gitconfig index 2f8788e..dee7063 100644 --- a/.gitconfig +++ b/.gitconfig @@ -10,6 +10,7 @@ excludesfile = ~/.gitignore autocrlf = input pager = /usr/local/opt/git/share/git-core/contrib/diff-highlight/diff-highlight | less -FRX + editor = nvim [diff] algorithm = histogram [grep] @@ -19,12 +20,10 @@ g = grep --break --heading --line-number dsf = "!f() { [ \"$GIT_PREFIX\" != \"\" ] && cd "$GIT_PREFIX"; git diff --color $@ | diff-so-fancy | less --tabs=4 -RFX; }; f" [help] - autocorrect = -1 -; [url "https://github.com/"] -; insteadOf = git@github.com: + autocorrect = -1 [tag] - sort = version:refname + sort = version:refname [init] - templatedir = ~/.git-templates + templatedir = ~/.git-templates [git-up "bundler"] - check = true + check = true