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

时间:2020-10-26 09:44:41   收藏:0   阅读:146

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

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

原文:https://www.cnblogs.com/deepstu/p/13876545.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!