马上去当实习生了,该对git系统学习一波了(不能只会clone,push,pull吧)哈哈哈。
git工作流程
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e710218a3bbd4c2ca0d62dc792afe7ec.png)
git底层三部分:工作区、暂存区和版本库
工作区:就是你在电脑里能看到的目录。
暂存区:英文叫 stage 或 index。一般存放在 .git 目录下的 index 文件(.git/index)中,所以我们把暂存区有时也叫作索引(index)。
版本库:工作区有一个隐藏目录 .git,这个不算工作区,而是 Git 的版本库。
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/5f074b5687d16d6169926bfae47ebb12.png)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/1f4d136a21eab361f2702b761a5362c9.png)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/9b2ec7a76ab864616c79af8f1d6992aa.png)
git命令
请参考:https://www.runoob.com/manual/github-git-cheat-sheet.pdf