Git 查看日志Git 查看日志 git log 命令用于查看 Git 仓库中提交历史记录,默认按从最新提交到最早提交的顺序显示。 以简洁的一行格式显示 Git 仓库提交信息: git log --oneline 以图形化方式显示 Git 仓库分支和合并历史: git log --graph