本教程计划由浅入深,全面介绍 git 的方方面面,让菜鸟可以学会,老鸟亦有收获。学习 git 的方法,是不断做实验,在实践中感悟。本教程也发布在 Read the Docs.
- 前言·阅读建议
- 第一章 Git 的诞生
- 第二章 版本和版本管理
- 第三章 安装 Git
- 第四章 Hello World
- 第五章 Git Repository 的目录结构
- 第六章 文档的版本操作
- 第七章 修改历史
- 第八章 分支(Branch)
- 第九章 远程交互
- 第十章 标签(Tag)
- 第十一章 清理仓库
- 第十二章 子模块(Submodule)
- 第十三章 创建和使用 Git 服务节点
- 第十四章 了解仓库状态
- 第十五章 Git 配置
- 第十六章 谈谈 GUI 客户端
这里有的文章涉及的内容在上面的教程中也能找到,但单独成篇也有单独成篇的好处,比如主题突出,不用在教程中去苦苦寻找。
- Git 分支整洁之道, The Way to Keep Git Branches Clean
- Who are "us" and "them"?
- How to Create a New Repository
- How to Retrieve the Email of a Commit's Author
- Git Commit 中的时间记录
- How to check if a git branch exists in the local/remote repository?
- Automating the Removal of Outdated and Merged Branches
- Clean Files with a Long Path (Git)
- Synchronizing a Remote Repository to Local Using Python
- Update Git Branch/Tag Naming Conventions
- 合并不同的仓库
- Work with Multiple Remote Repositories
- Git Submodule Test
core.ignoreCase说明pull's configuration- git 的两种 tag 的平行对比实验
git filter-repo- Finding Commits Before a Merge Point in Git