当前位置:   article > 正文

ERROR: Repository not found. Could not read from remote repository. Please make sure you have the c

error: repository not found. could not read from remote repository. please m

Push failed

user_cf: ERROR: Repository not found. Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

在新建仓库后,遇到问题,push不上去,pull不下来,但能clone下来

git branch -a&git branch -r,都无显示。git remote -v有显示远程仓库。

尝试:1.升级git,用git branch -a检查,看是否解决。

2.若上述方法失败,删除远程仓库后重新连接,尝试是否可行。

git remote remove origin
 git remote add origin git@github.com:xxxxxxxxxx
git fetch

成功解决。 

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号