热门搜索 :
考研考公
您的当前位置:首页正文

git上传遇到错误之Repository not found.

来源:东饰资讯网

使用git提交代码到远程仓库时,遇到这个问题:


错误一

然后检查发现地址写错了,此时需要
先删除远程 Git 仓库

$ git remote rm origin

再添加远程 Git 仓库

git remote add origin 

如果执行 git remote rm origin 报错的话,我们可以手动修改gitconfig文件的内容

$ vi .git/config

把 [remote “origin”] 删掉。

Top