Skip to content

Instantly share code, notes, and snippets.

@pbarker3
Created April 7, 2018 19:48
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 pbarker3/2973d87460838c8aa8d83c1bcdf1c098 to your computer and use it in GitHub Desktop.
Save pbarker3/2973d87460838c8aa8d83c1bcdf1c098 to your computer and use it in GitHub Desktop.
git colors
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
[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 bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment