my-git

推荐阅读

这个页面用于沉淀后续写作时参考过的官方文档、经典文章和知名资料。

原则:

Git 基础与心智模型

资料 适合补充到哪里 说明
Pro Git 01-getting-started/02-daily-workflow/ Git 官方站点推荐的系统学习资料
Git 官方文档 所有命令类文章 命令行为以官方文档为准
Git Cheat Sheet 01-getting-started/git-basic-commands.md 适合做命令速查
Conventional Commits 02-daily-workflow/commit-message.md commit message 规范的常用参考
How to Write a Git Commit Message 02-daily-workflow/commit-message.md 经典 commit message 写作文章

团队工作流

资料 适合补充到哪里 说明
Atlassian Git tutorials 03-team-collaboration/ 覆盖集中式、Feature Branch、Gitflow、Forking、Pull Request 等工作流
GitHub Flow 03-team-collaboration/github-flow.md GitHub 官方轻量分支工作流
GitHub Flow 企业化实践 03-team-collaboration/github-flow.md04-github-engineering/enterprise-github-workflow-stack.md GitHub Flow 如何配合平台治理能力升级为企业协作链路
GitLab Flow 03-team-collaboration/team-git-workflow-guide.md 适合需要 production / stable 分支的团队
Trunk Based Development 03-team-collaboration/trunk-based-development.md 主干开发、短分支、feature flag 的经典资料
Feature Flags 03-team-collaboration/trunk-based-development.md 主干开发中隔离未完成能力的关键实践
A successful Git branching model 03-team-collaboration/gitflow.md Gitflow 的经典原文
Google Engineering Practices: Code Review 03-team-collaboration/code-review-best-practices.md Google 公开的代码审查实践
Google Code Review 实践 03-team-collaboration/code-review-best-practices.md Review 标准、长期 code health、评论分级
阿里巴巴 AoneFlow 分支管理实践 03-team-collaboration/team-git-workflow-guide.md03-team-collaboration/gitflow.md 多 feature 并行、按发布范围组合 release 分支
腾讯云社区 Gitflow 分支规范实践 03-team-collaboration/gitflow.md Gitflow 风格团队规范参考
字节跳动 Git 工作流与研发设施实践 03-team-collaboration/team-git-workflow-guide.md04-github-engineering/ 大规模研发设施如何承接 Git 工作流
Google 主干开发与版本控制实践 03-team-collaboration/trunk-based-development.md 主干开发、大规模协作、小变更与快速 CI
Microsoft Release Flow 03-team-collaboration/team-git-workflow-guide.md04-github-engineering/release-management.md 主干开发配合 release 分支的团队实践
大厂工程实践决策图谱 10-company-practices/ 按团队问题把公开案例和主题文章关联起来

GitHub 工程治理

资料 适合补充到哪里 说明
Protected branches 04-github-engineering/branch-protection.md 分支保护、必需检查、Review、Merge Queue
Rulesets 04-github-engineering/rulesets.md 仓库和组织级规则治理
Issue and pull request templates .github/08-templates/ 标准化社区贡献信息
Pull request reviews 03-team-collaboration/code-review-best-practices.md PR Review、CODEOWNERS 自动请求 Review
Secret scanning 04-github-engineering/security-and-secret-scanning.md 凭证扫描和泄露告警
Push protection 04-github-engineering/security-and-secret-scanning.md 在 push 阶段拦截 secret
GitHub Actions Docs 04-github-engineering/github-actions-ci.md GitHub Actions 官方文档
Reusable workflows 04-github-engineering/reusable-workflows.md 多仓库复用 CI 模板
Gerrit Access Controls 09-resources/gerrit-code-review-governance.md Gerrit 权限、label、Submit 模型
Managing releases in a repository 04-github-engineering/release-management.md GitHub Release 官方文档
Semantic Versioning 04-github-engineering/release-management.md 语义化版本规范
Merge Queue 合并队列实践 04-github-engineering/merge-queue.md PR 高并发团队如何保护主分支稳定
Shopify Merge Queue 实践 04-github-engineering/merge-queue.md 大规模团队使用合并队列保护主分支的经验
企业 GitHub 协作配置栈 04-github-engineering/ GitHub Flow、CODEOWNERS、Rulesets、Actions、安全扫描、Merge Queue 的组合方案
GitOps and Config as Code 04-github-engineering/github-engineering-governance.md 配置、基础设施和发布策略如何进入 PR、Review、CI 链路
Slack Deploys 实践 04-github-engineering/release-management.md 高频部署团队如何降低日常发布风险

工程经验研究

资料 适合补充到哪里 说明
Do Small Code Changes Merge Faster? 03-team-collaboration/pull-request-best-practices.md 小变更和合并耗时关系的经验研究
The Impact of a Continuous Integration Service on the Delivery Time of Merged Pull Requests 04-github-engineering/github-actions-ci.md CI 对合并决策、交付时间和开发者信心的研究
Git 工作流经验研究笔记 03-team-collaboration/04-github-engineering/ 把研究结论转成写作边界

AI 编程与代码审查

资料 适合补充到哪里 说明
Responsible use of GitHub Copilot code review 05-ai-native-development/ai-generated-code-review.md GitHub 对 AI Review 能力边界的官方说明
Review AI-generated code 05-ai-native-development/ai-generated-code-review.md 面向 AI 生成代码审查流程的官方教程
OpenAI Codex 05-ai-native-development/codex-claude-code-git-practices.md Codex 官方产品页,包含 multi-agent workflows 和 worktrees 说明
OpenAI Codex Web 05-ai-native-development/ai-coding-tools-git-integration.md Codex Web、GitHub 集成和远程任务入口
OpenAI Codex Sandboxing 05-ai-native-development/ai-coding-tools-git-integration.md Codex sandbox 与权限模型
Claude Code Worktrees 05-ai-native-development/codex-claude-code-git-practices.md Claude Code 官方 worktree 并行会话说明
Claude Code Common Workflows 05-ai-native-development/codex-claude-code-git-practices.md Claude Code 官方常见工作流
GitHub Copilot Cloud Agent 05-ai-native-development/ai-coding-tools-git-integration.md Issue 到 PR 的异步 Agent 工作流
Aider Git Integration 05-ai-native-development/ai-coding-tools-git-integration.md git-first 本地 AI 结对实践
Cursor 2.0 and Composer 05-ai-native-development/ai-coding-tools-git-integration.md 多 Agent、Composer 和聚合 diff 入口
AI 变更审查实战样例 05-ai-native-development/ai-native-git-workflow.md05-ai-native-development/ai-generated-code-review.md AI diff 审查、清理、拆 commit、写 PR 的完整示例
Stacked PR for AI-Generated Changes 05-ai-native-development/ai-native-git-workflow.md05-ai-native-development/ai-commit-splitting.md AI 大 diff 如何拆成可审查的小 PR

开源项目治理

资料 适合补充到哪里 说明
Kubernetes OWNERS Files 04-github-engineering/codeowners.md03-team-collaboration/code-review-best-practices.md OWNERS、reviewer / approver 两阶段评审
Kubernetes Pull Request Process 03-team-collaboration/pull-request-best-practices.md PR 流程、自动化检查和维护者协作
Linux Kernel Pull Requests 09-resources/open-source-governance-practices.md 维护者树状模型和 pull request 规范
Go Contribution Guide 09-resources/open-source-governance-practices.md Gerrit、Review 权限和贡献流程
Rust RFCs 09-resources/open-source-governance-practices.md 重大变更 RFC 模型

故障处理与恢复

资料 适合补充到哪里 说明
Git Flight Rules 06-troubleshooting/ Git 高频事故处理清单
git reflog 06-troubleshooting/recover-lost-commit.md 恢复丢失 commit 的核心命令
git restore 06-troubleshooting/undo-anything.md 撤销工作区和暂存区改动
How to undo almost anything with Git 06-troubleshooting/undo-anything.md GitHub 经典撤销指南
Removing sensitive data from a repository 06-troubleshooting/remove-secret-from-history.md GitHub 官方敏感数据清理说明
git filter-repo 06-troubleshooting/remove-secret-from-history.md 清理 Git 历史的常用工具

大仓库与 Monorepo

资料 适合补充到哪里 说明
Partial clone 07-large-repo/partial-clone.md 减少对象下载
Sparse checkout 07-large-repo/sparse-checkout.md 只保留部分工作区路径
git worktree 02-daily-workflow/worktree.md05-ai-native-development/worktree-for-ai-agents.md 多分支并行工作区
Git LFS 07-large-repo/git-lfs.md Git 大文件管理工具
Pro Git: Submodules 07-large-repo/submodule-vs-subtree.md submodule 系统说明
git maintenance 07-large-repo/repo-maintenance.md 仓库维护命令
Microsoft Scalar 与大仓库 Git 实践 07-large-repo/large-repo-git-practices.md partial clone、sparse checkout、maintenance 的组合实践
Meta Sapling 与堆叠提交实践 03-team-collaboration/pull-request-best-practices.md07-large-repo/ 堆叠提交和超大仓库开发体验
Uber GitFarm 与 Git 服务化实践 07-large-repo/large-repo-git-practices.md Git 作为大规模 monorepo 基础设施服务
Git 版本演进笔记 07-large-repo/large-repo-git-practices.md09-resources/ Git 2.45 到 2.54 中值得工程团队关注的能力