github - Git corrupt : error object file is empty -
i had performed local changes repository , committed them local repo. while fetching code repository system power got lost. result, git repo got corrupted. when i'm checking out commit id (local) shown in git reflog shows
error: object file ./objects/xx/yyyyyyyyyyyy empty.
fatal: loose object xxyyyyyyyyyyyy corrupt.
when doing git status shows files corresponding object files deleted. result i'm not able git hash-object -w object-path. since local commit, can't replace .git folder remote server local repo.
is there way using can restore commit , avoid redoing it?
Comments
Post a Comment