Source: Coderwall - A better git log

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

Then git lg or git lg -p

Git log improved



Published

19 June 2012

Category

hacking

Tags