Skip to content

Instantly share code, notes, and snippets.

@peritus
Created September 6, 2010 10:18
Show Gist options
  • Save peritus/566878 to your computer and use it in GitHub Desktop.
Save peritus/566878 to your computer and use it in GitHub Desktop.
[alias]
st = status -uall
sts = status -uall -sb
d = diff
puff = pull --ff-only
dw = diff --color-words
dc = diff --cached
dcw = diff --cached --color-words
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative
log1 = log --pretty=oneline --abbrev-commit --decorate
file-blame = !git ls-files | xargs -n1 -i{} git log -1 --pretty=format:\"%ci {}\" -- {}
commit-crap = commit -m `curl -s 'http://whatthecommit.com/' | grep '<p>' | cut -c4-`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment