Skip to content

Instantly share code, notes, and snippets.

@ehg
Created May 29, 2013 14:11
Show Gist options
  • Save ehg/5670546 to your computer and use it in GitHub Desktop.
Save ehg/5670546 to your computer and use it in GitHub Desktop.
[color]
diff = auto
status = auto
branch = auto
[status]
relativePaths = false
[core]
excludesfile = ~/.gitignore
[alias]
ci = commit
co = checkout
d = diff
dc = diff --cached
lc = log ORIG_HEAD.. --stat --no-merges
gl = log --oneline --decorate --stat --graph
st = status -sb
prune-all = !git remote | xargs -n 1 git remote prune
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment