最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git - Failed to clone large project files from github repo (13GB project file) - Stack Overflow

programmeradmin0浏览0评论

I have been trying to clone a Unity project files from a github repository. But it always ends up with an early EOF and RPC failed. My internet speed is only at 50Mbps but i do have enough storage (100GB). Also the repo is not using Git LFS. This is the message log from MINGW64:

$ git remote update
remote: Enumerating objects: 75692, done.
remote: Counting objects: 100% (1131/1131), done.
remote: Compressing objects: 100% (263/263), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
error: 756 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Some basic methods that i have tried:

  • Disable windows antivirus and firewall
  • Not using any VPN's
  • Try cloning a different repo (smaller size) --> successfully cloned

Then this is the command that i tried in gitbash:

git config --global http.postBuffer 524288000
git config --global corepression 0
git clone <url-repo>
git config --global http.postBuffer 524288000
git config --global corepression 0
git clone --depth=1 <url-repo>

The next method is by downloading as a zip file first

unzip <repo>.zip
cd <repo>
git init
git add .
git remote add origin <url-repo>
git remote update # fails before running the next step, the log is same as above
git checkout master

None of the methods above works for me

发布评论

评论列表(0)

  1. 暂无评论