个人记录防止忘记
log别名:
git config --global alias.lg=log --color --graph --pretty=format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset‘ --abbrev-commit
设定自定义日期:
git config --global log.date=format:%Y-%m-%d %H:%M:%S
原文:https://www.cnblogs.com/yellowgiutou/p/10834616.html