将Mac升级到Yosemite后,我无法通过https访问GitHub。
fatal: unable to access 'https://github.com/caskroom/homebrew-cask/': SSL: can't load CA certificate file
实际上,它的brew更新,大多数brew操作都是在请求github repo时通过https。
答案 0 :(得分:0)
使用git版本2.1.2(在Yosemite上)我能够下载回购:
git clone https://github.com/mitsuhiko/flask.git/
Cloning into 'flask'...
remote: Counting objects: 10113, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 10113 (delta 2), reused 5 (delta 1)
Receiving objects: 100% (10113/10113), 4.66 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (6112/6112), done.
Checking connectivity... done.
答案 1 :(得分:0)
您可以尝试切换到ssh:
git clone git@github.com:mitsuhiko/flask.git
使用https,您需要按顺序拥有CA(证书颁发机构)(as in this question)。