我只使用的本地仓库上传到远程仓库,

pycharm使用GitHub报错Push failed:Could not read from remote repository.

但是总是报错。

试过:git 配置的SSH executable 为Native 

pycharm使用GitHub报错Push failed:Could not read from remote repository.

但是没有用。

也试过,添加ssh秘钥,但是也没用。

后来就是先建立远程仓库,然后使用pycharm从远程仓库下载到本地仓库,再去push和commit就没问题了! 

pycharm使用GitHub报错Push failed:Could not read from remote repository.

遇到这个问题的同学可以试试这样的操作,至于为什么不能从本地仓库push到远程仓库,是我的git设置错误了!!!不应该使用bin里面的git.exe,而是应该使用cmd里面的git.exe,这样就能从本地仓库迁移到远程仓库了!

pycharm使用GitHub报错Push failed:Could not read from remote repository.

相关文章:

  • 2021-04-27
  • 2022-12-23
  • 2021-09-22
  • 2021-10-29
  • 2021-12-21
  • 2021-04-30
  • 2021-12-08
猜你喜欢
  • 2021-10-29
  • 2021-07-06
  • 2022-12-23
  • 2021-07-25
  • 2021-08-24
  • 2021-12-05
相关资源
相似解决方案