使用自定义git lg命令来配置git log输出信息

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

猜你喜欢

转载自blog.csdn.net/oLengYueZa/article/details/84255513