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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -