当前位置:   article > 正文

unable to access ‘https://github.com/.../...git‘: Recv failure: Connection was reset

unable to access ‘https://github.com/.../...git‘: Recv failure: Connection was reset

解决git下载报错:fatal: unable to access ‘https://github.com/…/…git’: Recv failure: Connection was reset

1、在git中执行git config --global --unset http.proxy和git config --global --unset https.proxy

git config --global --unset http.proxy
git config --global --unset https.proxy
  • 1
  • 2

2、在cmd下执行ipconfig/flushdns 清理DNS缓存

ipconfig /flushdns
  • 1

3、重新执行git clone https://github.com/…/.git/’ 即可

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

闽ICP备14008679号