试了很多方法,诸如git config --global --unset http.proxy
都没有用,最后解决方案如下:
用记事本打开 C:\Windows\System32\drivers\etc 中的hosts文件,加入github的ip地址
github的ip地址经常变,可以在这里查询
git push报错:OpenSSL SSL_connect: Connection was reset in connection to github.com:443
最新推荐文章于 2024-05-29 18:15:38 发布