Skip to content

Instantly share code, notes, and snippets.

@glennpratt
Created October 12, 2010 16:13
Show Gist options
  • Save glennpratt/622450 to your computer and use it in GitHub Desktop.
Save glennpratt/622450 to your computer and use it in GitHub Desktop.
[user]
name = Glenn Pratt
email = [email protected]
[color]
grep = auto
diff = auto
status = auto
branch = auto
ui = auto
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol
editor = vim
excludesfile = ~/.gitignore
[alias]
df = diff --no-prefix HEAD
clear = reset --hard
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment