Every time you use the git clone command to clone the gitlab source code, fatal: early EOFs: 93% error will appear.
巴扎黑
巴扎黑 2017-05-02 09:46:22
0
3
824

As mentioned, every time you use the #sudo -u git -H git clone https://gitlab.com/gitlab-org... -b 8-8-stable gitlab
command to clone the gitlab source code, the following error will appear:
fatal: The remote end hung up unexpectedly29.93 MiB | 46.00 KiB/s
fatal: early EOFs: 93% (410690/439557), 129.96 MiB | 46.00 KiB/s
fatal: index-pack failed

Use #git config The system configuration displayed by -l is as follows:
core.packedgitlimit=1024m
core.packedgitwindowsize=1024m
core.compression=-1
pack.deltacachesize=2047m
pack.packsizelimit=2047m
pack.windowmemory=2047m
http.postbuffer=524288000
core.compression=0
core.compression=-1

I have been tortured for several days. . I hope someone can help me, thank you very much! !

巴扎黑
巴扎黑

reply all(3)
滿天的星座

I have encountered this situation before, mainly because the warehouse content was too large. The solution at that time was not to use the https的方式,而直接使用ssh method

git clone git@gitlab.com:gitlab-org/gitlab-ce.git
世界只因有你

I also encountered this in my last project, usually the project codebase was too large
Try this

git config --add core.compression -1

or

git config --global --add core.compression -1
我想大声告诉你

According to the method provided by @mylxsw, you need to create a user on gitlab and put the public key of the server that needs to be cloned. The public key is in ~/.ssh/id_rsa.pub.
If there is no id_rsa.pub file in the .ssh directory, you can use the command ssh-keygen -t rsa -C "yourEmail@example .com". Note that the email address here can be replaced with your own email address. When displayed Just keep pressing Enter after outputting the following:

Then open the id_rsa.pub file, copy all the contents, open the GitLab account, and open SSH Keys:

Add the content you just copied to the Key text field, and then click Add key.

Use git clone https://gitlab.com/gitlab-org... -b 7-10-stable gitlab command again to clone the gitlab project.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template