From a00e0126f68d00124b95a911b6b813d085de7f3e Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Mon, 24 Oct 2016 09:34:16 +1300 Subject: [PATCH] Update git config --- git/.config/git/config | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/git/.config/git/config b/git/.config/git/config index f7b558c..387040f 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -1,5 +1,23 @@ [user] email = george@rawlinson.net.nz name = George Rawlinson + +[core] + # if $EDITOR not set, use this as editor + editor = nvim + # fix whitespace issues + whitespace = fix, blank-at-eol, blank-at-eof, space-before-tab, trailing-space + +[color] + # automatically color output, except when piping + ui = auto + +[color "status"] + # colours when using status command + untracked = magenta + changed = red + added = green + [push] + # push current branch instead of all default = simple