From: Oleg Broytman Date: Thu, 23 Oct 2014 14:33:19 +0000 (+0400) Subject: .gitconfig: better colors for light bg X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=ee7bc0c6f78a3423c466268ed5a3bc9ca7c69956 .gitconfig: better colors for light bg --- 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]