Skip to content

Instantly share code, notes, and snippets.

@pamtrak06
Forked from johanmeiring/gist:3002458
Last active December 27, 2018 10:09
Show Gist options
  • Save pamtrak06/77009692d654156965edc42ea6db2a1f to your computer and use it in GitHub Desktop.
Save pamtrak06/77009692d654156965edc42ea6db2a1f 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