我的远程git服务器上的某些文件似乎已损坏,当我尝试将repo克隆到新系统时,出现以下错误。
remote: error: Could not read c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03
remote: fatal: Failed to traverse parents of commit 02d8c9217333d89afd61da1788fa82329b692610
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
当我跑步的时候
git fsck --name-objects
:
broken link from commit 02d8c9217333d89afd61da1788fa82329b692610 (~17)
to commit c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03 (~18)
我有一个没有错误的回购协议的本地副本,有没有办法只复制丢失或损坏的文件?