首先在码云上先建一个仓库
创建之后会有个远程项目地址 例如:https://gitee.com/xxxx/项目名
在对应的项目中,鼠标右击出现下图,并点击进入git命令号界面
git init 初始化
git add . 将当前目录加入到git
git commit -m "first commit(提交的描述信息)"
git remote add origin https://gitee.com/xxx/项目名
git push -u origin master 将文件上传到远程版本库的master分支
这个算是自己总结也是笔记