Skip to content

Instantly share code, notes, and snippets.

@jthmiranda
Created August 3, 2013 17:34
Show Gist options
  • Save jthmiranda/6147239 to your computer and use it in GitHub Desktop.
Save jthmiranda/6147239 to your computer and use it in GitHub Desktop.
git -- adding color highligth on linux terminal
[alias]
co = checkout
st = status
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
pager = true
[color "diff"]
meta = green
frag = yellow
old = magenta
new = bold cyan
; message = bold
[color "status"]
header = bold blue
added = green
changed = bold red
untracked = bold yellow
[core]
editor = nano
excludesfile = /Users/[username]/.gitignore_global
quotepath = false
[http]
sslVerify = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment