当前位置:   article > 正文

Git解决fatal: Could not read from remote repository.的问题_fatal: could not read from remote repository. plea

fatal: could not read from remote repository. please make sure you have the

今天在学习Git时候,发现用Git Bash执行命令

$ git push -u origin master

报错如下:

  1. ssh: connect to host github.com port 22: Connection refused
  2. fatal: Could not read from remote repository.
  3. Please make sure you have the correct access rights
  4. and the repository exists.

然后我就去网上找解决方案,但是效果都是一样的。

当我快放弃时,我想到它这个提示的端口号:22

然后我反过来想,会不会是端口号被占用了?但是我去查端口号时也没发现什么问题。

之后我无意看到我加速github的加速器Watt Toolkit,顿时恍然大悟......

然后把它关闭再重新运行,就成了

有时候真的很无语。。。。。。
 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/1008697
推荐阅读
相关标签
  

闽ICP备14008679号