Question

1
fatal: unable to access 'https://github.com/xxx/xxx.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

Reason

GitHub在国内设置了全局代理git config ,到美国后,我把代理链接给关了,连不上代理就出现了如上问题

Solution

1、查看git全局代理

1
git config --global --list

2、删除全局代理配置项

方法1-终端执行命令删除:

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

方法2-编辑配置文件删除:

1
git config --global --edit