在cygwin下使用git下载出现错误
$ git clone https://android.googlesource.com/kernel/common.git
Cloning into common...error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d while accessing https://android.googlesource.com/kernel/common.git/info/refs
fatal: HTTP request failed
解决办法如下:
$ git config --global http.sslVerify false
能够正常下载了:
$ git clone https://android.googlesource.com/kernel/common.git
Cloning into common...
remote: Counting objects: 141, done
remote: Counting objects: 2469703, done
remote: Finding sources: 100% (1001/1001)
remote: Getting sizes: 100% (403/403)
remote: Compressing objects: 100% (31/31)
Receiving objects: 5% (135520/2469327), 51.42 MiB | 496 KiB/s