建立存储库完整版

建立属于自己的存储库

初始化

git init

克隆仓库到本地

git clone 仓库地址

在仓库里上传文件

 

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

git add .

查看状态

git status

执行提交

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

提交线上仓库

git push

 

 

posted on 2019-07-11 15:49  Mentality  阅读(150)  评论(0编辑  收藏  举报