Permalink
Browse files

added lc

  • Loading branch information...
1 parent f309472 commit d41e8f08ed479b94c6b09f3833cb25f2b5ceb5b6 @noelweichbrodt committed Nov 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 gitconfig
View
@@ -11,6 +11,7 @@
l = "!git log --graph --pretty='tformat:%C(yellow)%h{%C(green)%ar{%C(bold blue)%an{%C(red)%d%C(reset) %s' $* | column -t -s '{' | less -FXRS"
lg = log --graph --pretty=format:'%Cred%h%Creset %an -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lf = log --graph --diff-filter [ACDMR] --name-status --pretty --source --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
+ lc = "!f() { git log --author=$1 --graph --diff-filter [ACDMR] --name-status --pretty --source --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(bold blue)<%an>%Creset'; }; f"
lr = log ORIG_HEAD.. --stat --no-merges
li = ls-files --exclude-standard --ignored --others
undo = reset --soft HEAD^

0 comments on commit d41e8f0

Please sign in to comment.