DEV Community

Discussion on: A quick guide to squashing Git commits

Collapse
 
enguerran profile image
enguerran 🐐💨

If you want some colors in the git plog display, update the --pretty flag with this instead:

git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches