当前位置:   article > 正文

Push fail Enumerating objects: 43, done. Delta compression using up to 8 threads Total 32 (delta 1

delta compression using up to 8 threads

Push fail
       Enumerating objects: 43, done.
       Delta compression using up to 8 threads
       Total 32 (delta 11), reused 0 (delta 0), pack-reused 0
       the remote end hung up unexpectedly
       the remote end hung up unexpectedly

Push fail Enumerating objects: 43, done.  Delta compression using up to 8 threads  Total 32 (delta 11), reused 0 (delta 0), pack-reused 0 						the remote end hung up unexpectedly 						the remote end hung up unexpectedly
  • 1

thread???明明前一会会还可以正常push pull的

reset 到之前 commit了一次小改动试了下 push 成功了 那就说明git没事 就是这次文件的问题

那只能是文件大小的问题吧 一百度也都是说缓存太小,又查了下文档
在这里插入图片描述
看了下文件,两个js文件大于1M,分次把其他的文件commit push也都可以就这两个大文件push,那就按照网上的方法修改http.postBuffer,然后push ,,还不行

看了几十篇全是说postBuffer的问题,说是容量不够需要扩容,,但是我的已经改过了
在这里插入图片描述
在这里插入图片描述
用 git config -l 看了下 ,发现我的 core.compression 怎么是0 别人的截图是1

于是查了下文档
在这里插入图片描述
正常都是1-9,那我的 0 不就是不正常么,而且是关于压缩的,我这就是因为文件过大造成的,应该可以解决吧,于是我改成了1,然后 push
在这里插入图片描述
在这里插入图片描述


哇塞,没想到还有后续,上面改 core.compression 为 1 后解决了那天的问题

但是!!现在过了几天后又出现了同样的问题
在这里插入图片描述
最开始我还纳闷难道 git 配置 core.compression 又变回去了?但是 并没有
在这里插入图片描述

于是
我直接 git config core.compression 9
在这里插入图片描述
再一次成功了。。。
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/55823
推荐阅读
相关标签
  

闽ICP备14008679号