Skip to content

Instantly share code, notes, and snippets.

@huang47
Created July 4, 2013 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huang47/5925089 to your computer and use it in GitHub Desktop.
Save huang47/5925089 to your computer and use it in GitHub Desktop.
l1 = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(cyan)<%an>%C(reset)'
l2 = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(green)(%cr) %C(cyan)<%an>%C(reset)'
ls = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(green)(%cr) %C(cyan)<%an>%C(reset)' --stat
lt = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(green)(%cr) %C(cyan)<%an>%C(reset)'
lg = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(green)(%cr) %C(cyan)<%an>%C(reset)' --graph
lm = log --format='%C(yellow)%h%C(reset) -%C(red bold)%d%C(reset) %s %C(green)(%cr)%C(reset)' --author=huge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment