DEV Community

Discussion on: 5 Git Tricks Every Developer Should Know

Collapse
 
cblte profile image
cblte

Hi,
nice examples. Unfortunatelly your first git log example is horribly broken.
Here is a correct version. Something got messed up with the formatting.

git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Enter fullscreen mode Exit fullscreen mode