linux下运行命令git clone git://github.com/xxxx
错误信息:
fatal: unable to connect to github.com: github.com[0: IP]: errno=Operation timed out
需要https读到数据
输入命令:
git config --global url."https://github.com".insteadOf git://github.com
当如果再次运行git clone仍报错:
fatal: unable to access ‘https://github.com/robbyrussell/oh-my-zsh.git/’: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
再接着输入命令:
git config --global --unset http.proxy
git config --global --unset https.proxy