git报错:
Couldn't find remote ref XXXX (gitlab报错)
XXXX does not appear to be a git repository Could not read from remote repository(github报错)
git报找不到远程库错误,无法pull和push代码

解决办法:
1.查看远程库连接:git remote -v
发现远程库连接错误,需要重新建立关联
2.清除远程库连接 :git remote rm origin
3.重新建立远程库连接: git remote add origin XXXX
(XXXX为远程库url地址)
搞定啦!

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-08-27
  • 2021-05-09
  • 2021-11-11
  • 2022-02-08
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-09-29
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案