git 格式化输出版本信息

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/5986795.html