Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jzhou77/718253fc73ad62ae2bac45cbc7b7efce to your computer and use it in GitHub Desktop.
Save jzhou77/718253fc73ad62ae2bac45cbc7b7efce 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