Files
everything-claude-code/docs/zh-CN/rules/common/git-workflow.md
zdoc.app ada4cd75a3 docs(zh-CN): sync Chinese docs with latest upstream changes (#304)
* docs(zh-CN): sync Chinese docs with latest upstream changes

* update

---------

Co-authored-by: neo <neo.dowithless@gmail.com>
2026-03-02 22:28:27 -08:00

27 lines
656 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Git 工作流程
## 提交信息格式
```
<type>: <description>
<optional body>
```
类型feat, fix, refactor, docs, test, chore, perf, ci
注意:通过 ~/.claude/settings.json 全局禁用了归因。
## 拉取请求工作流程
创建 PR 时:
1. 分析完整的提交历史(不仅仅是最近一次提交)
2. 使用 `git diff [base-branch]...HEAD` 查看所有更改
3. 起草全面的 PR 摘要
4. 包含带有 TODO 的测试计划
5. 如果是新分支,使用 `-u` 标志推送
> 有关 git 操作之前的完整开发流程规划、TDD、代码审查
> 请参阅 [development-workflow.md](development-workflow.md)。