Last Updated: February 25, 2016
·
2.167K
· chaitanyakuber

git log alias

I love shortcuts and one of the first one's i moved to using git the first thing I figured out from various sources is a git log alias.

Here's my git log alias

lg = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) %C(white)%s%C(reset) %C(bold white)- %cn%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative

Picture