Questions tagged [git-fsck]

A git command line tool that verifies the connectivity and validity of the objects in the database

git-fsck tests SHA-1 and general object sanity, and it does full tracking of the resulting reachability and everything else. It prints out any corruption it finds (missing or bad objects), and if you use the --unreachable flag it will also print out objects that exist but that aren't reachable from any of the specified head nodes (or the default set, as mentioned above).

Resources:

34 questions
0
votes
1 answer

git fatal - the remote hung up unexpectedly but not RPC or permission or broken pipe related message

I have seen many post here on SO about git fatal: the remote end hung up unexpectedly issue but none of them seem to be related to mine. All posts about this error on here are related to RPC, permission, broken pipe etc but the fatal error I get…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
0 answers

How to restore a git reset --hard HEAD@{1}

I do a git reset --hard HEAD@{1} But I removed some things wrongly. I try solve it git fsck −−lost-found But it no found the "revert" Thanks...
user3854612
  • 127
  • 1
  • 1
  • 7
0
votes
0 answers

Git to Mercurial conversion fails because of bad file

I'm trying to convert a git repository to mercurial. Partway through it fails with the following error: $ hg convert --datesort git-repo hg-repo initializing destination hg-repo repository scanning source... sorting... converting... 77 Some…
jcavazos
  • 23
  • 3
-1
votes
2 answers

git server error: corrupt loose object on remote

I have an error in response to git fsck --full which is corrupt loose object '...' on a git server machine. I don't have a local repository. I can't clone. I don't have the object in repo/objects/... Do you have any ideas on how to fix this? The…
disgra
  • 683
  • 3
  • 6
  • 18
1 2
3