git 删除 项目remote

项目已经提交到仓库,已经生成.git文件,但是又需要重新上传,就可以用一下命令删除remote

git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/zhoushenglei/aaa.git
git push -u origin master

git remote remove origin

原文地址:https://www.cnblogs.com/zhoushenglei/p/7155833.html