fatal: unable to access ‘https://github.com/xxx/‘: gnutls_handshake() failed: The TLS connection was
·
当出现这个问题,首先看下是否使用了代理(VPN、梯子什么的)。
如果使用了代理,则:
vim ~/.gitconfig
在配置文件最后写入如下信息:
[http]
sslVerify = false
proxy = http://127.0.0.1:7890
[https]
sslVerify = false
proxy = http://127.0.0.1:7890
如果没有使用代理,则关闭它:
git config --global --unset http.proxy
git config --global --unset https.proxy
更多推荐
所有评论(0)