From 4396ea66ae20e18ccf83b21ea81845b58b9b07d9 Mon Sep 17 00:00:00 2001 From: shanyuhai123 <864299347@qq.com> Date: Fri, 13 Sep 2024 11:49:53 +0800 Subject: [PATCH] docs(git): git log pretty --- docs/tools/git/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/tools/git/README.md b/docs/tools/git/README.md index b044f7a4a..527750bf2 100755 --- a/docs/tools/git/README.md +++ b/docs/tools/git/README.md @@ -133,7 +133,11 @@ git push ```bash # 所有分支指定用户指定时间范围提交信息 # 更多的 formats 可见 https://git-scm.com/docs/pretty-formats -git log --all --author="你的名称" --after="2022-07-16" --before="2022-07-23" --no-merges --pretty=format:"%an(%ae) %as: %s" +git log --all \ + --author="你的名称" \ + --after="2022-07-16" \ + --before="2022-07-23" \ + --no-merges --pretty=format:"%an(%ae) %as: %s" ``` ### 清理分支