fatal: unable to access 'https://github.com/xxxx/xxxx.git/': LibreSSL SSL_connect:
SSL_ERROR_SYSCALL in connection to github.com:443
猜测github.com连不上 修改一下houst文件,添加或者修改为最新的就行
1、找到hosts 文件
![](https://img.haomeiwen.com/i6756701/088425a9ad15bd79.png)
2、打开终端执行ping github.com
代码,如下图中140.82.114.3
![](https://img.haomeiwen.com/i6756701/c2991383ec3639c6.png)
3、复制下面代码到 hosts 文件中,这个ip地址就是上面ping出来的那个
140.82.114.3 github.com
140.82.114.3 github.global.ssl.fastly.net
tips:如果hosts 不能修改,请使用sudo vim hosts ,保存的时候使用:wq!
网友评论