The repo records my git learning notes. You can download the pdf or html file to learn.
-
Git和Github
- 本地版本控制
- 集中式版本控制
- 分布式版本控制
- 安装Git
- 创建GitHub账号
-
创建第一个仓库
- 创建仓库
- ssh key生成
- git简单工作流
-
使用git进行管理仓库
- 上节回顾
- 文件跟踪
-
git常用命令
- git add和 git commit
- git status
- git diff
- git log
- git rm和git mv
- 远程命令
- git clone
- git remote
- git push
- git fetch
- git pull
- git reset和git revert
- git别名
- git tag
- .gitignore文件
- LICENSE文件
-
分支的使用
- git保存数据方式与分支简介
- 创建分支
- 切换分支
- 为什么要使用分支?
- 合并分支
- git merge
- git rebase
- 多重变基
- 变基的风险
- 分支冲突
- 远程分支
- 分支练习(强烈推荐)
- pull request的使用
- 参考