git 查看提交记录

git log -15 --pretty=format:"%h %H %ad %an %s %b %B" --date=short

1、%h:短 commit hash
2、%H:完整 commit hash
3、%ad:作者日期
4、%an:作者名
5、%s:提交标题
6、%b:提交正文
7、%B:完整提交信息,包括标题和正文
7、--date=short 简短日期 年-月-日
8、--stat 显示每次提交改了哪些文件

posted @ 2026-09-30 10:40  izzwhf  阅读(13)  评论(0)    收藏  举报