一、$ git clone https://github.com/reliablejs/reliable-master.git 报错
Cloning into 'reliable-master'...
fatal: unable to access 'https://github.com/reliablejs/reliable-master.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'https://github.com/reliablejs/reliable-master.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
one method to solve the exception:
$ git config --global http.sslverify false
another method to fix it
sudo apt-get install --reinstall ca-certificates
注:这种方法在我的机器上使用后并没有解决我的问题
参考链接:
Cloning via HTTPS fails because of server certificate verification failure. #4272;
二、升级git(ubuntu 为例)
升级git到最新版本
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get reinstall git
sudo apt-get update
sudo apt-get reinstall git
三、filename too long
设置git客户端:
git config --system core.longpaths true