Do you want a smart "git log"

Many at times git log is more difficult to read and scroll. Here is a smart solution for it. Do you want some thing like below?

image NOT lOaDeD

To setup

$ 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"

This is just git pretty format and lg alias for a bigger cmd.

Ref

For more infor see here.

★ 1 min read · Rajesh Pandian M · git , coding