Skip to content

Instantly share code, notes, and snippets.

Created Jan 16, 2011
What would you like to do?
My git config.
# great tips from and
ui = auto
[color "branch"]
current = red bold
local = blue
remote = green
[color "diff"]
meta = black
frag = magenta
old = red
new = green
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = cyan bold
# tabs are an error, as are trailing spaces
st = status
ss = status -sb
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
ls = log --oneline --decorate
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment