首先打开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 是你自己的链接