错误:
% git clone --depth 1 http://github.com/junegunn/fzf.git ~/Downloads/fzf
Initialized empty Git repository in ~/Downloads/fzf/.git/
error: error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none while accessing http://github.com/junegunn/fzf.git/info/refs
RHEL版本:
% cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
ca-certificates 似乎没有安装:
% which ca-certificates
/usr/bin/which: no ca-certificates in ( ... )
我没有root权限,有什么办法可以解决这个问题吗?
答案1
您没有 git 期望的证书。同样的问题得到了回答这里。