Skip to content

Instantly share code, notes, and snippets.

@koriroys
Created April 20, 2012 02:30
Show Gist options
  • Save koriroys/2425396 to your computer and use it in GitHub Desktop.
Save koriroys/2425396 to your computer and use it in GitHub Desktop.
pretty print for git log
[alias]
lg = log --graph --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" --abbrev-commit --date=relative --max-count=50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment