git
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGit Skill
Git 操作技能指南
Guide for Git operations. For mandatory rules and permissions,
see .
rules/git-github.mdGit操作指南。关于强制规则和权限,请查看。
rules/git-github.md1. Commit Message Format (Conventional Commits)
1. 提交信息格式(Conventional Commits)
text
<type>: <brief description> (#<Issue number>)
<detailed description>text
<类型>: <简要描述>(#<问题编号>)
<详细描述>Summary
摘要
- Same as detailed description is OK
- 与详细描述内容一致即可
Background
背景
- Briefly explain the background and purpose
- 简要说明背景和目的
Changes
变更内容
- Specific change 1
- Specific change 2
- 具体变更1
- 具体变更2
Technical Details
技术细节
- Technical implementation details
- Reasons for design decisions
- Focus on "why" throughout
- 技术实现细节
- 设计决策的原因
- 全程聚焦于“为什么”
Verification
验证说明
- Describe verification if performed
- 若已执行验证,请描述验证情况
Related URLs
相关链接
- <Related Issue>
- <External URL>
- Others if applicable
undefined- <相关问题>
- <外部链接>
- 其他适用内容
undefined1.1. Type Examples
1.1. 类型示例
| Type | Description |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation only |
| style | Formatting, no code change |
| refactor | Code change without fix/feat |
| test | Adding/updating tests |
| chore | Maintenance, dependencies |
| 类型 | 描述 |
|---|---|
| feat | 新功能 |
| fix | Bug修复 |
| docs | 仅文档变更 |
| style | 格式调整,无代码逻辑变更 |
| refactor | 代码重构,无修复/新功能添加 |
| test | 添加/更新测试用例 |
| chore | 维护工作、依赖管理 |
2. Related Resources
2. 相关资源
| Resource | Purpose |
|---|---|
| rules/git-github | Mandatory rules and permissions |
| skills/github | GitHub-specific operations |
| 资源 | 用途 |
|---|---|
| rules/git-github | 强制规则与权限说明 |
| skills/github | GitHub专属操作指南 |