将本地库的所有内容推送到远程库,输入命令:

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

git bash报错:

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

输入命令:

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

git bash 输出:

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

对比github

git push时报错fatal: Could not read from remote repository.
两处地址不一样。

解决方法:

输入以下两个命令行:
	$ git remote set-url origin https://github.com/Alreadgo/u...
	$ git push -u origin master

问题解决,最后git bash输出如下
git push时报错fatal: Could not read from remote repository.
文章来源:https://segmentfault.com/a/1190000015168578
自己再实际中也遇到了这个问题

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
  • 2021-08-24
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-04-27
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案