使用hexo框架的时候使用
hexo d命令后返回报错:
fatal: unable to access 'https://github.com/xxx/xxx.github.io.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
HTTPS端口443。
如果之前配置在使用VPN访问 GitHub 时,将 Git 的代理设置为 VPN 的代理了,那么使用https的时候关闭即可
使用 git config --global --unset http.proxy
和 git config --global --unset https.proxy
命令可以取消代理设置。
取消后即解决报错。