Skip to content

Instantly share code, notes, and snippets.

@acook
Created September 8, 2011 19:28
Show Gist options
  • Save acook/1204434 to your computer and use it in GitHub Desktop.
Save acook/1204434 to your computer and use it in GitHub Desktop.
Copy and paste this into your .gitconfig. (located in your home directory)
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta
old = red
new = green
[color "status"]
added = green
changed = yellow bold
untracked = white
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
co = checkout
st = status
ci = commit
w = whatchanged
nb = checkout -b
b = branch
[push]
default = current
[pull]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment