当我运行这个命令时:
git clone <bitbucket repo>.git
我得到错误:
fatal: unable to access '.git/': Server aborted the SSL handshake
当我运行命令时:
git --version
输出:
git version 2.9.2
我无法理解问题是出在我的 Mac 中安装的 git 还是我的 Mac。
最佳答案
明白了。 这是因为我在代理后面,并且没有在命令行中将其设置为环境变量(认为它是在系统偏好设置 -> 网络 -> LAN 中设置的)
如果您使用代理,请在 ~/.bashrc 文件中添加这两行:
export http_proxy=http://<proxy_url>:<proxy_port>/
export https_proxy=https://<proxy_url>:<proxy_port>/
关于git - curl : (35) Server aborted the SSL handshake in Mac OS X El Capitan (10. 11.4),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39179561/