Skip to content

Instantly share code, notes, and snippets.

@stefanooldeman
Created August 8, 2011 15:34
Show Gist options
  • Select an option

  • Save stefanooldeman/1131962 to your computer and use it in GitHub Desktop.

Select an option

Save stefanooldeman/1131962 to your computer and use it in GitHub Desktop.
My git config (color part)
# colour output for diffs
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
#Highlight whitespace in diffs
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol

Colors in GIT +++

add these lines to the end of your file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment