git教程-git log 查看日志

说明

git log命令用于显示提交日志信息。

注意:不包括已经被删除的 commit 记录和 reset 的操作

语法

git log [<options>] [<revision range>] [[\--] <path>…]

例子

更多操作参见

https://www.yiibai.com/git/git_log.html

显示所有日志

git log

将显示最近三次的提交

git log -3

参考

https://blog.csdn.net/chenpuzhen/article/details/92084229


原文出处:https://malaoshi.top/show_1IX3ZKhjpMT3.html