当获取远程分支时,我收到错误:
git fetch -v origin master
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (37/37), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
所以我在它之前运行git gc
,或者使用--aggressive
选项运行同样的错误。
所有与此问题相关的Git配置:
git config -l
core.compression=0
将core.compression
从-1更改为9,两者都没有。
来自远程分支的新提交并不重,包括2M的图像。