请帮帮我。我在终端中运行它
git
$ git pull
remote: Counting objects: 1301, done.
error: git upload-pack: git-pack-objects died with error.remote: Compressing objects: 16% (108/673)
remote: Compressing objectorting due to possible repository corruption on the remote side.
remote: warning: packfile ./objects/pack/pack-e32996faab6453fb93de74bdf35f1585aa97f877.pack cannot be accessed
remote: error: unable to open object pack directory: ./objects/pack: Too many open files
remote: warning: packfile ./objects/pack/pack-e32996faab6453fb93de74bdf35f1585aa97f877.pack cannot be accessed
remote: fatal: failed to read object 9ddcb1eb21b57617c837f22e2335a9c1e98881c7: Too many open files
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
帮助我,我不明白这个问题。
谢谢。
答案 0 :(得分:0)
我意识到这应该是一个评论,但我没有足够的声誉来发表评论。所以我们走了。
您是否尝试过远程存储库中的git --bare fsck-objects --full
?
除此之外,可能是内存问题,请尝试
git config --global pack.windowMemory "100m"
git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"