原文:使用SourceTree來Clone代碼時,報錯“error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed”

一 背景說明 最近用SourceTree拉取代碼時,由於項目比較大,導致拉取失敗,具體失敗信息如下: 二 解決方案 上網查找資料后發現: 原因是,curl的postBuffer的默認值太小 所以我們需要調整默認值,並在終端重新配置其大小。 三 具體操作 將postBuffer的值配置成 M 如有需要,可調整postBuffer的值 在Git上輸入命令:git config global http. ...

2020-04-29 10:40 0 1738 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM