使用git发布到远程时: git push -u origin master fatal: unable to access 'https://github.com/xxxx/test.git/': Failed connect to github.com:443; No error 解决这个问题,需要使用代理,可以使用 goagent & gae 建议使用XX-Net https://github.com/XX-net/XX-Net 启动代理后,执行: git config --global http.proxy 127.0.0.1:8087 再次执行git push -u origin master ,出现错误: fatal: unable to access 'https://github.com/xxx/test.git/': SSL certificate problem: unable to get local issuer certificate 这个错误并不重要是系统证书的问题,系统判断到这个行为会造成不良影响,所以进行了阻止,只要设置跳过SSL证书验证就可以。 git config --global http.sslVerify false 就可以解决了。 |