Git Clone错误解决【GnuTLS recv error (-110): The TLS connection was non-properly terminated.】

报错信息如下:

Cloning into 'gramine'...

fatal: unable to access 'https://github.com/gramineproject/gramine.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

一,临时解决办法

git clone --recursive 'https://github.com/valloric/youcompleteme.git

二,永久解决办法

解决方法(顺序执行以下代码):

apt-get install gnutls-bin

git config --global http.sslVerify false

git config --global http.postBuffer 1048576000

你可能感兴趣的:(linux系统管理工具,git,github,linux)