700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > git push时报错fatal: Could not read from remote repository.

git push时报错fatal: Could not read from remote repository.

时间:2022-11-11 17:44:56

相关推荐

git push时报错fatal: Could not read from remote repository.

后来发现,出现这个问题是因为仓库地址不对

使用如下命令先查看一下:

$ git remote -v

发现跟github的地址不一致

然后在终端输入:git remote set-url origin XXX

然后重新push就可以了

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。