git 新增日志命令

git config --global alias.lg "log --graph --pretty=format:'%Creset%h %Cgreen%cd %C(yellow)%cn %Creset %s %b %N' --date=format:'[%y/%m/%d %H:%M:%S]'"

效果如下:

git lg

原文地址:https://www.cnblogs.com/SmilePastaLi/p/12557542.html