其他分享
首页 > 其他分享> > git clone时gnutls_handshake() failed错误

git clone时gnutls_handshake() failed错误

作者:互联网

转载自:https://www.bswen.com/2021/11/how-to-solve-github-https-clone-error.html

方法一

git config --global http.sslVerify false

方法二

将https链接改为http

git clone https://github.com/boylegu/SpringBoot-vue.git # 修改前
git clone http://github.com/boylegu/SpringBoot-vue.git # 修改后

方法三

重新编译git

sudo apt-get update
sudo apt-get install build-essential fakeroot dpkg-dev
sudo apt-get build-dep git
mkdir ~/git-openssl
cd ~/git-openssl
apt-get source git
dpkg-source -x git_1.7.9.5-1.dsc
cd git-1.7.9.5

标签:handshake,git,get,clone,sudo,apt,https
来源: https://www.cnblogs.com/kervias/p/16266261.html