我已经尝试了所有方法,但似乎仍然无法通过 https 克隆 git 存储库,即使获取 https 页面没有问题。
卷曲版本:
$ curl --version
curl 7.21.7 (amd64-pc-win32) libcurl/7.21.7 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp
smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate Largefile NTLM SSL SSPI libz
尝试克隆 https 存储库:
$git clone https://github.com/SublimeText/LaTeXTools.git
Cloning into 'LaTeXTools'...
error: Protocol https not supported or disabled in libcurl while accessing https
://github.com/SublimeText/LaTeXTools.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
适用于 https 页面没问题:
$ curl -L https://www.google.com
<!doctype html><html
...
</script></body></html>
有什么建议么?谢谢!