From ee7bc0c6f78a3423c466268ed5a3bc9ca7c69956 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 23 Oct 2014 18:33:19 +0400 Subject: [PATCH] .gitconfig: better colors for light bg --- .gitconfig | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 83f1bee..3a87142 100644 --- a/.gitconfig +++ b/.gitconfig @@ -15,6 +15,8 @@ [color] ui = auto +# Adapted from http://shallowsky.com/blog/programming/gitcolors.html +# and http://www.ansdb.com/649-git-colors-for-light-background [color "branch"] # -- default -- # current = green @@ -23,7 +25,10 @@ # remote = red # -- light bg -- current = blue + local = normal + plain = normal remote = magenta + upstream = normal [color "diff"] # -- default -- # commit = yellow @@ -35,12 +40,19 @@ # whitespace = normal red # -- light bg -- commit = normal bold - frag = green + frag = cyan + meta = bold new = blue old = magenta + plain = normal + whitespace = normal red #[color "grep"] # -- default -- # match = normal +[color "decorate"] +# -- light bg -- + HEAD = blue + tag = blue #[color "interactive"] # -- default -- # error = normal @@ -58,6 +70,9 @@ # -- light bg -- added = blue changed = blue + header = normal + nobranch = red + untracked = red updated = magenta [core] -- 2.39.5