建立存储库完整版

建立属于自己的存储库

初始化

git init

克隆仓库到本地

git clone 仓库地址

在仓库里上传文件

将所有违背跟踪的文件添加到本地仓库

git add .

查看状态

git status

执行提交

git commit -m project-init
project-init可以看成是注释

提交线上仓库

git push

原文地址:https://www.cnblogs.com/ssxblog/p/11170497.html