git push由于解包错误而无法执行

时间:2019-04-03 07:12:23

标签: gitlab

有人可以帮我吗?由于

,我无法推送
C:\projects\MadmaqsSF>git push origin dev
Enumerating objects: 2125, done.
Counting objects: 100% (2125/2125), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1473/1473), done.
Writing objects: 100% (2124/2124), 127.61 MiB | 233.35 MiB/s, done.
Total 2124 (delta 539), reused 2047 (delta 494)
remote: error: inflate: data stream error (invalid stored block lengths)
remote: fatal: pack has bad object at offset 43619424: inflate returned -3
error: remote unpack failed: index-pack abnormal exit
To http://midex/moud/MadmaqsSF.git
 ! [remote rejected] dev -> dev (unpacker error)
error: failed to push some refs to 'http://midex/moud/MadmaqsSF.git'

我认为这与长文件名有关。

我尝试过:

  

git push -f origin dev

     

这不是权限问题

1 个答案:

答案 0 :(得分:0)

最后,我刚刚创建了一个新的存储库,并在上面进行了工作。我认为旧的存储库已损坏。