error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
.
.
.
.
.
今天从 github 上 clone 代码的时候,出现了一个错误,重试多次后仍然出现,错误如下:
>$ git clone https://github.com/BOINC/boinc boinc Cloning into 'boinc'... remote: Enumerating objects: 26, done. remote: Counting objects: 100% (26/26), done. remote: Compressing objects: 100% (25/25), done. error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
后来发现,只要换成 ssh 方式 clone 就可以了:
>$ git clone git@github.com:BOINC/boinc.git Cloning into 'boinc'... remote: Enumerating objects: 26, done. remote: Counting objects: 100% (26/26), done. remote: Compressing objects: 100% (25/25), done. remote: Total 290179 (delta 8), reused 6 (delta 1), pack-reused 290153 Receiving objects: 100% (290179/290179), 233.82 MiB | 160.00 KiB/s, done. Resolving deltas: 100% (223552/223552), done.
作者:dybai
出自:https://0xcafebabe.cnblogs.com
赞赏:3Ky9q5HVGpYseBPAUTvbJBvM3h3FQ3edqr(BTC)
本作品采用知识共享署名-相同方式共享 3.0 中国大陆许可协议进行许可。
欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。
posted on 2019-09-04 16:46 0xCAFEBABE 阅读(7246) 评论(0) 编辑 收藏 举报