Last Updated: February 20, 2016
· wordofchristian

git log for pros

Add this to your global .gitconfig (~/.gitconfig)

    pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset   

It will make the get log much much more legible.


Bonus tip:

Install the git-smart gem

> gem install git-smart

Then run this from the command line:

> git smart-log  --all

It shows all branches / stashes / refs in the repo and shows them in a nice graph train track display.