日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

从 github 执行 git clone 一个大的项目时提示 error: RPC failed

發(fā)布時間:2024/4/14 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 从 github 执行 git clone 一个大的项目时提示 error: RPC failed 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

目前克隆一個比較大的項目,出現(xiàn)RPC failed的錯誤

Cloning into 'bigfiles'... remote: Counting objects: 190, done. remote: Compressing objects: 100% (157/157), done. error: RPC failed; result=56, HTTP code = 200| 5.00 KiB/s fatal: The remote end hung up unexpectedlfy atal: early EOF fatal: index-pack failed

原因

應(yīng)該是clone內(nèi)容更新太多,需要設(shè)置postBuffer更大些
This can be caused if your specific Git client is attempting to send more data than your local httpPostbuffer setting is set to allow.

臨時解決辦法

While we have server site settings set appropriately for this option, you may need to adjust/override your client's settings. To do this, execute the following command(s):
From within a specific repository. Note the number at the end is the size, in bytes that you wish to allow in a single post. If you have much larger files, you may need to increase this number.

git config http.postBuffer 524288000 To set this gloablly for all remote Git repositories you ever connect to

或者

git config --global http.postBuffer 524288000

參考資料

https://confluence.atlassian.com/bbkb/error-rpc-failed-result-18-http-code-0-301663284.html

總結(jié)

以上是生活随笔為你收集整理的从 github 执行 git clone 一个大的项目时提示 error: RPC failed的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。