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 2023-01-10 14:26  糯米白白  阅读(10911)  评论(0编辑  收藏  举报

导航