Skip to content

Commands

Prettier Git log history

Added to my git config

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"

Type git lg to see a pretty git log history instead of git log.