It seems that some files got corrupted on my remote git server and I'm getting the following error when I try to clone the repo to a new system.
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
When I run a git fsck --name-objects
:
broken link from commit 02d8c9217333d89afd61da1788fa82329b692610 (~17)
to commit c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03 (~18)
I have a local copy of the repo that doesnt have the error, is there a way to just copy the missing or corrupted files?