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

本文作者:3to4

本文链接:https://www.cnblogs.com/3to4/p/17119733.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @ 2023-02-14 15:21  3的4次方  阅读(1318)  评论(0编辑  收藏  举报