error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

.git

.github

.ssh

.curl

.url

今天從 github 上 clone 代碼的時候,出現了一個錯誤,重試屢次後仍然出現,錯誤以下:spa

>$ 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 就能夠了:code

>$ 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.
相關文章
相關標籤/搜索