首页 > 其他 > 详细

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

时间:2020-10-26 09:44:41      阅读:139      评论:0      收藏:0      [点我收藏+]

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

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!