Git MOC
Git 主题入口,汇总核心概念、工作流、命令速查和协作相关笔记。
#tech / ops
#type / moc
#status / evergreen
#resource / git
Git MOC
[!info] related notes
Git 版本控制相关知识索引
从这里开始
- 先看 git,建立 Git 的核心心智模型。
- 再看 git-collaboration-workflow,理解多人协作中的常见流程。
- 如果平时经常忘命令,再回到速查和撤销类笔记。
基础概念
- git-installation-guide - 安装与初始化
- git - Git 核心概念
- git-collaboration-workflow - 团队协作流程
- git-fast-forward-merge - fast-forward merge 的定义、判断条件与
--ff-only
工作流
基础配置
- git-common-clone-failures - 常见问题
- git-line-ending-configuration - Git 换行符配置 (LF 模式)
- Git Hooks - 在 Git 关键节点自动执行脚本
- Pre-Commit Quality Gate - 提交前拦截低级错误的本地质量门
命令详解
- git-merge-and-rebase - merge 与 rebase 的使用边界
- 用 Rebase 把功能分支线性合并回 main - 适合个人项目或小团队的线性合并流程
分支管理
- [[git-branch-management]] - 分支操作
- git-branch-protection - 分支保护规则
- gitflow-vscode-plugin-guide - VSCode GitFlow 插件
提交管理
- git-commit-conventions - Commit 规范
- git-undo-local-commits - 撤销 commit
- git-unstage-changes - 撤销 add
- git-revert-remote-branch-changes - 撤销远程修改
- git-apply-changes-to-another-branch - cherry-pick
- git-push-remote-three-scenarios
协作与远程
- git-untrack-and-remove-files - .gitignore 相关
- invite-collaborators-to-repo - 协作设置
- git-lfs - 大文件存储
工具集成
- git-lans - GitLens 插件
- github - GitHub 使用
- github-codespaces - Codespaces
- github-codespace-memory-cleanup - 清理技巧
- github-student-verification - 学生优惠
编程库
- git-related-libraries-usage - simple-git 等 Node.js Git 操作库
速查表
- git-cheatsheet - 命令速查表
- gitflow-command-quick-reference - GitFlow 速查
使用指南
- git-commit-conventions - 提交消息规范与团队约定
- Git Guardrails for Claude Code - 用 hook 阻止危险 git 命令
- Setup Pre-Commit Skill - 为仓库接入 pre-commit 质量门