Skip to content

Instantly share code, notes, and snippets.

@hunner
Last active September 26, 2016 09:25
Show Gist options
  • Save hunner/822834 to your computer and use it in GitHub Desktop.
Save hunner/822834 to your computer and use it in GitHub Desktop.
Pretty format `git lg`
[alias]
# See http://cat.pdx.edu/~hunner/git-lg.png for an example
lg = "log --decorate --pretty=format:'%C(yellow)%h%C(reset) %C(green)%G?%C(reset) %C(blue)%an%C(reset) %C(cyan)%cr%C(reset) %s %C(auto)%d%C(reset)' --graph --date-order"
@olafz
Copy link

olafz commented May 10, 2012

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment