public
Last active

A sweet git alias for pretty pretty log listings

  • Download Gist
sweet-git-log
1 2 3
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
 
# use: git lg

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.