HTML5   发布时间:2022-04-27  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – Git克隆在MAC OSX 10.12上接收对象时挂起大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图在mac osx 10.12上设置 Cocoapods,我试图在终端中执行此命令它挂在接收对象上: –
cd ~/.cocoapods/repos
GIT_TRACE=1; GIT_CURL_VERBOSE=1 git clone http://github.com/CocoaPods/Specs.git master --verbose

这是终端输出: –

@R_920_1419@ into 'master'...
            * Couldn't find host github.com in the .netrc file; using defaults
            *   Trying 192.30.253.112...
            * Connected to github.com (192.30.253.112) port 80 (#0)
            > GET /CocoaPods/Specs.git/info/refs?service=git-upload-pack http/1.1
            Host: github.com
            User-Agent: git/2.7.4 (Apple Git-66)
            Accept: */*
            Accept-Encoding: gzip
            Pragma: no-cache

            < http/1.1 301 Moved PeRMANently
            < Content-length: 0
            < LOCATIOn: https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack
            < Connection: close
            < 
            * Closing connection 0
            * Issue another request to this URL: 'https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack'
            * Couldn't find host github.com in the .netrc file; using defaults
            *   Trying 192.30.253.112...
            * Connected to github.com (192.30.253.112) port 443 (#1)
            * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
            * Server certificate: github.com
            * Server certificate: DigiCert SHA2 Extended Validation Server CA
            * Server certificate: DigiCert High Assurance EV Root CA
            > GET /CocoaPods/Specs.git/info/refs?service=git-upload-pack http/1.1
            Host: github.com
            User-Agent: git/2.7.4 (Apple Git-66)
            Accept: */*
            Accept-Encoding: gzip
            Pragma: no-cache

            < http/1.1 200 OK
            < Server: GitHub Babel 2.0
            < Content-Type: application/x-git-upload-pack-advertisement
            < transfer-encoding: chunked
            < Expires: Fri,01 Jan 1980 00:00:00 GMT
            < Pragma: no-cache
            < Cache-Control: no-cache,max-age=0,must-revalidate
            < Vary: Accept-Encoding
            < X-GitHub-request-Id: 69EEB048:2D36F:6AF964:57888CD0
            < x-frame-options: DENY
            < 
            * Connection #1 to host github.com left intact
            POST git-upload-pack (305 bytes)
            * Couldn't find host github.com in the .netrc file; using defaults
            * Found bundle for host github.com: 0x7fc3d750be30
            * Re-using exisTing connection! (#1) with host github.com
            * Connected to github.com (192.30.253.112) port 443 (#1)
            > POST /CocoaPods/Specs.git/git-upload-pack http/1.1
            Host: github.com
            User-Agent: git/2.7.4 (Apple Git-66)
            Accept-Encoding: gzip
            Content-Type: application/x-git-upload-pack-request
            Accept: application/x-git-upload-pack-result
            Content-Length: 305

            * upload completely sent off: 305 out of 305 bytes
            < http/1.1 200 OK
            < Server: GitHub Babel 2.0
            < Content-Type: application/x-git-upload-pack-result
            < transfer-encoding: chunked
            < Expires: Fri,must-revalidate
            < Vary: Accept-Encoding
            < X-GitHub-request-Id: 69EEB048:2D36F:6AFF66:57888CD9
            < x-frame-options: DENY
            < 
            remote: CounTing objects: 747987,done.
            remote: Compressing objects: 100% (17/17),done.
            Receiving objects:   1% (10862/747987),2.16 MiB | 437.00 KiB/s

在这里看到了关于这个问题的其他问题,遗憾的是没有解决方案.

更新: –

一段时间后,终端显示错误: –

* SSLRead() return error -9806/747987),2.16 MiB | 437.00 KiB/s   
* Closing connection 1
error: RPC Failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack Failed`

解决方法

大佬总结

以上是大佬教程为你收集整理的ios – Git克隆在MAC OSX 10.12上接收对象时挂起全部内容,希望文章能够帮你解决ios – Git克隆在MAC OSX 10.12上接收对象时挂起所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。