git

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Git Skill

Git 操作技能指南

Guide for Git operations. For mandatory rules and permissions, see
rules/git-github.md
.
Git操作指南。关于强制规则和权限,请查看
rules/git-github.md

1. 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
  • <相关问题>
  • <外部链接>
  • 其他适用内容
undefined

1.1. Type Examples

1.1. 类型示例

TypeDescription
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode change without fix/feat
testAdding/updating tests
choreMaintenance, dependencies
类型描述
feat新功能
fixBug修复
docs仅文档变更
style格式调整,无代码逻辑变更
refactor代码重构,无修复/新功能添加
test添加/更新测试用例
chore维护工作、依赖管理

2. Related Resources

2. 相关资源

ResourcePurpose
rules/git-githubMandatory rules and permissions
skills/githubGitHub-specific operations
资源用途
rules/git-github强制规则与权限说明
skills/githubGitHub专属操作指南