Undo git reset --hard with bad revision 'HEAD' -


i trying upload project bitbucket , experiencing issues. kept receiving error "bad default revision 'head'" while trying push project.

to make long story short stupidly typed "git reset --hard" terminal clearing entire project. i'm terrified lost insane amount of work. i've been trying undo command commands "git reflog" , "git reset head@{1}" keep receiving error "fatal: bad default revision 'head'".

is there way undo this? have been working on project on month , lose progress devastating.

edit: tried use "git reflog" again , still returned following error: enter image description here

when run "git fsck", however, prints following: enter image description here

the dangling blobs files missing, ran git show on 1 of them , appeared 1 of 256 files looking for.


Comments