Permalink
Browse files

new git aliases

k to run gitk --all
ll to sow almost a full screen of logs,
   leaves a couple of lines for long log messages

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent 6bada21 commit fd9d2695ff79932b4138872336cfd7462d580cff @hxw committed Oct 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 gitconfig
View
@@ -19,6 +19,7 @@
l3 = !git --no-pager log --max-count=3 HEAD
log5 = log --max-count=5 HEAD
+ k = !gitk --all
# graph of tree
# =============
@@ -31,6 +32,8 @@
lola = log --graph --pretty=format:'%C(bold red)%h%Creset -%C(bold yellow)%d%Creset %s %C(bold green)(%cr) %C(bold ul blue)%an%Creset' --abbrev-commit --date=relative --all
l10 = !git --no-pager log --graph --pretty=format:'%C(bold red)%h%Creset -%C(bold yellow)%d%Creset %s %C(bold green)(%cr) %C(bold ul blue)%an%Creset' --abbrev-commit --date=relative -10 && echo
+ ll = !git --no-pager log --graph --pretty=format:'%C(bold red)%h%Creset -%C(bold yellow)%d%Creset %s %C(bold green)(%cr) %C(bold ul blue)%an%Creset' --abbrev-commit --date=relative --all --max-count=$(tput lines) | head -n $(expr $(tput lines) - 5)
+
# git-svn commands
# ================

0 comments on commit fd9d269

Please sign in to comment.