git push fatal: HttpRequestException encountered.    An error occurred while sending the request

1、windows7 向github提交代码报错:

$ git push
fatal: HttpRequestException encountered.
   An error occurred while sending the request.
fatal: HttpRequestException encountered.
   An error occurred while sending the request.
Username for 'https://github.com':

git push fatal: HttpRequestException encountered.    An error occurred while sending the request

2、hexo 向 github中提交报错

fatal: could not read Username for 'https://github.com':No error

 

git push fatal: HttpRequestException encountered.    An error occurred while sending the request

 

 

git push fatal: HttpRequestException encountered.    An error occurred while sending the request

 

 

首先以为是公钥出错了,本地重新生成公钥,添加到github上,还是不行;用 SourceTree 测试git项目OK;猜测是git安装包出现问题,卸载git安装包,安装最新安装包,问题解决;

 

相关文章:

  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2021-05-01
  • 2022-12-23
  • 2021-09-11
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
  • 2021-04-12
  • 2021-09-11
  • 2021-06-24
相关资源
相似解决方案