Git查看日志的3条命令 nameIsZoe27 2021-07-10 290 阅读1分钟 git log git log --oneline 设置git log 别名 code ~/.gitconfig 设置别名 [alias] log-tree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit 查看效果