git log 格式化输出

Git log --graph --pretty=format: ‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset’ 
--abbrev-commit 
--date=relative
原文地址:https://www.cnblogs.com/mengjianzhou/p/5986793.html