报错如下
fatal: unable to access 'https://github.com/visgl/loaders.gl.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
// or
fatal: unable to access 'https://github.com/visgl/loaders.gl.git/': Failed to connect to github.com port 443: Connection refused
// or
fatal: unable to access 'https://github.com/visgl/loaders.gl.git/': Could not resolve host: github.com
解决办法
- 首先保证不能访问 google
- 输入命令
git config --global --unset http.proxy
git config --global --unset https.proxy
- 如果不行,则输入命令
git config --global url.git://github.com/.insteadOf https://github.com/
- 再进行 clone
参考:https://github.com/bower/bower/issues/2288
网友评论