Skip to content

Instantly share code, notes, and snippets.

@techpeace
Created November 5, 2012 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techpeace/4020729 to your computer and use it in GitHub Desktop.
Save techpeace/4020729 to your computer and use it in GitHub Desktop.
How to add pretty colors to your git output
[color]
branch = auto
diff = auto
status = auto
ui = auto
sh = 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
@techpeace
Copy link
Author

Add these lines to your ~/.gitconfig.

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