【发布时间】:2016-03-18 12:40:43
【问题描述】:
git clone 失败:
GIT_CURL_VERBOSE=1 git clone https://github.com/swagger-api/swagger-ui.git
Cloning into 'swagger-ui'...
* Couldn't find host github.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying 192.30.252.129...
* Connected to github.com (192.30.252.129) port 443 (#0)
* found 174 certificates in /etc/ssl/certs/ca-certificates.crt
* Operation timed out after 0 milliseconds with 0 out of 0 bytes received
* Closing connection 0
fatal: unable to access 'https://github.com/swagger-api/swagger-ui.git/': Operation timed out after 0 milliseconds with 0 out of 0 bytes received
我试过export GIT_SSL_NO_VERIFY=1,但还是同样的问题。
我在 Ubuntu 14:04 上使用 git 版本 1.9.1
【问题讨论】:
-
"found 174 certificate in /etc/ssl/certs/ca-certificates.crt" 您的 ssh 证书可能有问题。尝试使用其他协议克隆它
标签: git