Wednesday, March 9, 2011

Adding colors to git diff by default

~/.gitconfig


[user]
name = Jamund Ferguson
email = jamund@gmail.com
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = cyan
[color "status"]
added = yellow
changed = green
untracked = cyan

9 comments: