Skip to content

Instantly share code, notes, and snippets.

@hunner
Last active September 26, 2016 09:25
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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"
@miller-time
Copy link

like like like :)

@haus
Copy link

haus commented Feb 20, 2011

awesome!

@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