给群友们准备的 git 入门教程,以常用的、基础的指令为主,希望大家学会后在后续的活动和合作中使用 git qwq
- 在你学到一定程度之后,你可以随意地往这个仓库提交PR,例如对某一行的理解或疑问、某个问题的回答、教程本身的修改!请在文中直接插入你的内容和你的名字!(虽然你不留名字大家通过git也看得到qwq)
- 在你学到一定程度之后,你需要开始了解并遵守一些 git 的规范,例如约定式提交qwq!
- 在你学到一定程度之后,你可以申请管理这个仓库的管理权限,以帮助后来的同学,以及帮助我qwq!
- 一定要学会 git 啊QAQ
-
start
-
git status
-
git add/commit
-
git diff
-
git pull/push
-
git branch/checkout
-
git rebase
-
(optional) discussion about the "fake" history records of git
-
git stash
-
git reset
-
(optional) git reflog
-
(optional) git cherry-pick
-
github workflow
- Share the same start with mt's tutorial
- Git is a DAG
- Have fun on the DAG with git