第一次把代码提到已有仓库中时,管用git来提
1.把本地仓库的 .git文件删除
2. cd 到自己的文件夹目录下
3.初始化仓库命令 git init
4.暂存全部 git add .
5. 添加备注 git commit -m "备注信息"
6. git remote add origin 远端仓库url
7. git push -u origin "master"
8. 第2次上传开始使用可视化工具上传,方便解决冲突。
用git上传本地仓库文件到gitee远端仓库
于 2022-01-19 11:51:31 首次发布