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