git报错——GnuTLS recv error (-110): The TLS connection was non-properly terminated

git报错——GnuTLS recv error (-110): The TLS connection was non-properly terminated

解决方案

临时办法

# 取消代理即可恢复正常
git config --global --unset http.https://github.com.proxy

永久办法

#(顺序执行以下代码):

apt-get install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000
posted @ 2023-02-14 15:21  3的4次方  阅读(1029)  评论(0编辑  收藏  举报