Skip to content

Instantly share code, notes, and snippets.

@mrflo
Forked from johanmeiring/gist:3002458
Created September 26, 2022 11:24
Show Gist options
  • Save mrflo/183f4bfd5d7eac32b3ca1cbefe3a0585 to your computer and use it in GitHub Desktop.
Save mrflo/183f4bfd5d7eac32b3ca1cbefe3a0585 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