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
posted @ 2016-10-19 14:01  梦见舟  阅读(200)  评论(0编辑  收藏  举报