Skip to content

Instantly share code, notes, and snippets.

@EtsuNDmA
Forked from johanmeiring/gist:3002458
Created February 16, 2018 05:52
Show Gist options
  • Save EtsuNDmA/ba352596ab58ea84b3a8534f5cce043c to your computer and use it in GitHub Desktop.
Save EtsuNDmA/ba352596ab58ea84b3a8534f5cce043c to your computer and use it in GitHub Desktop.
"git lg" alias for pretty git log
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment