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

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

ipconfig/flushdns

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

git clone 链接

posted on   糯米白白  阅读(11276)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· NetPad:一个.NET开源、跨平台的C#编辑器
· PowerShell开发游戏 · 打蜜蜂

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示