安装教程: https://www.jianshu.com/p/414ccd423efc

下载项目:
git clone 项目链接

创建提交人邮箱:
git config --global user.email "you@example.com"

创建提交人名称:
git config --global user.name "Your Name"

add文件:
git add .

创建提交信息:
git commit -m "提交信息"

提交代码:
git push

提交指定文件:先将指定文件添加到 暂存区,然后提交所有 暂存区 的文件:
git add index.html about.html
git commit -m '我提交了所有 暂存区 的文件'
git push

拉代码:
git pull

指定文件不提交

https://blog.csdn.net/weixin_44111864/article/details/97618308

常见报错

pull遇到错误:error: Your local changes to the following files would be overwritten by merge:

https://blog.csdn.net/nakiri_arisu/article/details/80259531