参照该文章 实测可行 登录create new repository填写项目名字复制仓库地址在要上传的文件夹处 右击 git bash here -输入 git clone 仓库地址在新生成的文件夹(之前设定的项目名字)中 拖入要上传的项目cd 项目名git add .git commit -m “项目说明”git push -u origin master