Loading...
Loading...
Compare original and translation side by side
| 用户输入 | --after | --before |
|---|---|---|
| 今天 / today | 今天 00:00 | now |
| 昨天 / yesterday | 昨天 00:00 | 昨天 23:59 |
| 这周 / this week | 本周一 00:00 | now |
| 最近N天 / last N days | N天前 00:00 | now |
| 具体日期 (如 2月20日) | 该日 00:00 | 该日 23:59 |
| 日期范围 (如 2/20-2/23) | 起始日 00:00 | 结束日 23:59 |
| 默认(无指定) | 昨天 22:00 | now |
date2026-02-22T22:00:00| User Input | --after | --before |
|---|---|---|
| Today / today | 00:00 today | now |
| Yesterday / yesterday | 00:00 yesterday | 23:59 yesterday |
| This week / this week | 00:00 Monday of this week | now |
| Last N days / last N days | 00:00 N days ago | now |
| Specific date (e.g., Feb 20) | 00:00 on that date | 23:59 on that date |
| Date range (e.g., 2/20-2/23) | 00:00 on the start date | 23:59 on the end date |
| Default (no specification) | 22:00 yesterday | now |
date2026-02-22T22:00:00git rev-parse --is-inside-work-treegit rev-parse --is-inside-work-treegit log --after="{after}" --before="{before}" --format="%H|%an|%ai|%s|%b|||" --name-statusgit log --after="{after}" --before="{before}" --format="%H|%an|%ai|%s|%b|||" --name-statusgit log --after="{after}" --before="{before}" --stat --format="%H %s"git log --after="{after}" --before="{before}" --stat --format="%H %s"git diff --stat $(git log --after="{after}" --before="{before}" --format="%H" | tail -1)^..$(git log --after="{after}" --before="{before}" --format="%H" | head -1)git show --stat {hash}git diff --stat $(git log --after="{after}" --before="{before}" --format="%H" | tail -1)^..$(git log --after="{after}" --before="{before}" --format="%H" | head -1)git show --stat {hash}git branch -a --sort=-committerdate | head -20git branch -a --sort=-committerdate | head -20git status --short && echo "---STASH---" && git stash listgit status --short && echo "---STASH---" && git stash list| 时间 | Hash (短) | 提交信息 || Time | Short Hash | Commit Message || 类型 | 匹配规则 |
|---|---|
| 代码 | |
| 测试 | 路径含 |
| 文档 | |
| 配置 | |
| 设计/调研 | 路径含 |
| 依赖 | |
| 其他 | 以上都不匹配的文件 |
| Type | Matching Rules |
|---|---|
| Code | |
| Testing | Path contains |
| Documentation | |
| Configuration | |
| Design/Research | Path contains |
| Dependencies | |
| Others | Files that do not match any of the above |
| 评估项 | 5分标准 | 1分标准 |
|---|---|---|
| Message 质量 | 清晰描述 what + why | 模糊或无意义 (如 "update", "fix") |
| 粒度 (Granularity) | 每次提交是独立的逻辑单元 | 巨型提交混合多个不相关改动 |
| Conventional Commits | 遵循 | 无任何规范 |
| Evaluation Item | 5-point Standard | 1-point Standard |
|---|---|---|
| Message Quality | Clearly describes what + why | Vague or meaningless (e.g., "update", "fix") |
| Granularity | Each commit is an independent logical unit | Giant commit mixing multiple unrelated changes |
| Conventional Commits | Follows | No adherence to any specification |
git statusTODOFIXMEHACKXXX_testgit statusTODOFIXMEHACKXXX_testundefinedundefined{时间范围} | {仓库名} | {提交数} commits | {文件变更数} files | +{新增行} -{删除行}
{Time Range} | {Repository Name} | {Number of Commits} commits | {Number of Changed Files} files | +{Added Lines} -{Deleted Lines}
| 时间 | Hash | 提交信息 |
|---|---|---|
| ... | ... | ... |
| Time | Hash | Commit Message |
|---|---|---|
| ... | ... | ... |
| 类型 | 文件数 | 占比 | 增删行数 |
|---|---|---|---|
| ... | ... | ... | ... |
| Type | Number of Files | Proportion | Line Changes (Add/Delete) |
|---|---|---|---|
| ... | ... | ... | ... |
| 评估项 | 评分 | 说明 |
|---|---|---|
| Message 质量 | ⭐×N | ... |
| 提交粒度 | ⭐×N | ... |
| Conventional Commits | ⭐×N | ... |
| Evaluation Item | Score | Description |
|---|---|---|
| Message Quality | ⭐×N | ... |
| Commit Granularity | ⭐×N | ... |
| Conventional Commits | ⭐×N | ... |
将报告保存为 `git-review-{date}.md` 到当前工作目录,其中 `{date}` 为当天日期(如 `2026-02-23`)。
Save the report as `git-review-{date}.md` in the current working directory, where `{date}` is the current date (e.g., `2026-02-23`).