Skip to content

Instantly share code, notes, and snippets.

@blatyo
Created August 21, 2011 18:31
Show Gist options
  • Save blatyo/1160962 to your computer and use it in GitHub Desktop.
Save blatyo/1160962 to your computer and use it in GitHub Desktop.
git config
[user]
name = Allen Madsen
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
st = status
ci = commit
co = checkout
w = whatchanged
search = "!f() { query=\"$1\"; shift; git log -S\"$query\" \"$@\"; }; f \"$@\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment