Git推送报错:unable to access 'https://github.com/xxxxxxxxxxxx.git/': Recv failure: Connection was reset
Git推送到新分支报错:unable to access 'https://github.com/xxxxxxxxxxxx.git/': Recv failure: Connection was reset

原因:连接没有释放
解决方案:
1、在git中执行以下命令:
git config --global --unset https.proxy git config --global --unset http.proxy
2、在cmd下执行以下命令:
ipconfig/flushdns

3、重新执行推送即可

浙公网安备 33010602011771号