git推送超时解决方案

266 阅读1分钟

unable to access 'github.com': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

git config --global --unset http.proxy 
git config --global --unset https.proxy

原理:访问加速

git设置https代理, 但是只设置https代理并不能加速, 与此同时, 只设置http代理能稍微加点速度, 只有同时设置http代理和https代理才能明显提速, 说明hexo init过程中既用到了http协议又用到了https协议