git push faild

warning: suboptimal pack - out of memory
error: pack-objects died of signal 9
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'https://bitbucket.org/xxx/xx.git'

How to fixes?

git config --global pack.threads 1 git
git config --global pack.deltaCacheSize 128m
git config --global pack.windowMemory 50m
git push

 


9 files changed, 1048 insertions(+)
fatal: bad numeric config value '=' for 'pack.deltacachesize': invalid unit
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'https://bitbucket.org/xx/xx.git'
fatal: The remote end hung up unexpectedly
fatal: write error: Bad file descriptor

#git config –global –get pack.deltaCacheSize
=

#git config –global –unset-all pack.deltaCacheSize

打赏

发表评论

电子邮件地址不会被公开。 必填项已用*标注