git-workflow
Git工作流模式,包括分支策略、提交约定、保持历史整洁可读、合并前整理本地提交、合并与变基的对比、冲突解决,以及适用于各种规模团队的协作开发最佳实践。适用于选择分支策略、编写提交约定、在拉取请求前清理历史、决定合并还是变基,或解决冲突时。
机器翻译查看英文原文
Git workflow patterns including branching strategies, commit conventions, keeping history clean and readable, tidying local commits before merging, merge vs rebase, conflict resolution, and collaborative development best practices for teams of all sizes. Use when choosing a branching strategy, writing commit conventions, cleaning up history before a pull request, deciding merge versus rebase, or resolving conflicts.
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Git Workflow Patterns
- When to Activate
- Branching Strategies
- GitHub Flow (Simple, Recommended for Most)
- Trunk-Based Development (High-Velocity Teams)
- GitFlow (Complex, Release-Cycle Driven)
- When to Use Which
- Commit Messages
Best practices for Git version control, branching strategies, and collaborative development. Setting up Git workflow for a new project Deciding on branching strategy (GitFlow, trunk-based, GitHub flow) Writing commit messages and PR descriptions Resolving merge conflicts Managing releases and version tags Onboarding new team members to Git practices Best for continuous deployment and small-to-medium teams. Rules: main is always deployable Create feature branches from main Open Pull Request when ready for review After approval and CI passes, merge to main Deploy immediately after merge Best for teams with strong CI/CD and feature flags. Rules: Everyone commits to main or very short-lived branches Feature flags hide incomplete work CI must pass before merge Deploy multiple times per day Best for scheduled releases and enterprise projects. Rules: main contains production-ready code only develop is the integration branch Feature branches from develop, merge back to develop Release branches from develop, merge to main and develop Hotfix branches from main, merge to both main and develop | Strategy | Team Size | Release Cadence | Best For | |----------|-----------|-----------------|-----
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- pi/core/skills/git-workflow/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:43.025Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。