git clone 失败由于 : git-pack-objects died with error


git clone 的时候报错:

  error: git upload-pack: git-pack-objects died with error.
  fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
  remote: fatal: unable to read 29d803f20bb36146259b8f1c8991fc8708170e2e
  remote: aborting due to possible repository corruption on the remote side.

在git库目录下面使用:

  git fsck --no-dangling
  git repack -adf --window=200 --depth=200

如果还不能解决那只能从以前备份的文件中替换.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM