我用命令行 clone 不了 git 仓库,任何仓库都不行,都会报如下这个错误
fatal: unable to access 'https://github.com/bmob/Bmob-iOS-SDK.git/':
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
但是用 SourceTree 客户端没有问题
执行pod repo update命令也报一样的错误
Updating spec repo `master`
$ /usr/local/bin/git -C /Users/zhubch/.cocoapods/repos/master fetch origin
--progress
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/':
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
之前好好的,我升级了 Xcode(10.0)和 Command line tools 之后就出现这个问题了
macOS 10.13.6
git version 2.18.0