如果要下载giuhub上的代码:git clone https://github.com/%E9%A1%B9%E7%9B%AE%E5%90%8D
出现gnutls_handshake() failed: The TLS connection was non-properly terminated.类错误信息
解决方法:
1.git clone https://github.com/%E9%A1%B9%E7%9B%AE%E5%90%8D.git
或者用gitlee
git clone https://gitlee.com/项目名.git
如果以上不行的话就用:
git clone git:github.com/项目名.git
这个网络问题,你直接上github下载源码文件或者重置一下代理,如下所示
解决方案:重置代理
git config --global --unset https.https://github.com.proxy
git config --global --unset http.https://github.com.proxy