首先打开github,选择新建仓库

 填写仓库名字,添加仓库

 然后打开自己本地要上传的文件夹

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/gaosiy/test.git
git push -u origin main

这里注意remote add 是你自己的链接

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐