Skip to content

Commit

Permalink
docs(git): git log pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
shanyuhai123 committed Sep 13, 2024
1 parent 433a735 commit 4396ea6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/tools/git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

### 清理分支
Expand Down

0 comments on commit 4396ea6

Please sign in to comment.