首页 > 其他 > 详细

ERROR: Repository not found. fatal: 无法读取远程仓库。

时间:2020-03-22 12:54:54      阅读:1889      评论:0      收藏:0      [点我收藏+]
解决办法如下:
1、先输入$ git remote rm origin(删除关联的origin的远程库)
2、再输入$ git remote add origin git@github.com:(github名)/(git项目名).git 就不会报错了!
3、如果输入$ git remote rm origin 还是报错的话,error: Could not remove config section ‘remote.origin’. 我们需要修改gitconfig文件的内容
4、找到你的github的安装路径,找到一个名为gitconfig的文件,打开它把里面的[remote “origin”]那一行删掉就好了!

  

ERROR: Repository not found. fatal: 无法读取远程仓库。

原文:https://www.cnblogs.com/zhugq02/p/12545157.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!