1.先有了,本地文件夹,且文件夹中有文件;
1.到这个文件夹下
git init
2.码云上,新建数据库,或者选择一个想要上传的库,
3.
git remote add origin "刚刚赋值的地址"
4. 拉取码云上的文件
git pull origin master
5.添加文件到本地库
git add .
6. 提交到本地库,并且加入备注
git commit -am "备注"
7.提交到远程库
git push origin master
git init
git remote add origin "刚刚赋值的地址"
git pull origin master
git add .
git commit -am "备注"
git push origin master