I accidentally used this command on my main branch
git reset --hard origin/main
and now all my work of previous 3 days gone. Unfortunately ,I couldn't commit
in last few days and now all the work of previous days is gone and I dont have another backup for that. Is there any way I can get it back.
Yesterday I committed but could'nt push due to some error
now When I use
git reflog
it is showing
b1a3b94 (HEAD -> main, origin/main, origin/HEAD) HEAD@{0}: commit: IgnoreUpdated
9d9ad52 HEAD@{1}: reset: moving to origin/main
9397cfe HEAD@{2}: commit: 28122020
08e9bc4 HEAD@{3}: commit: 27122020
d7436a7 HEAD@{4}: commit: 27122020
0427a52 HEAD@{5}: commit: 27122020
e98e686 HEAD@{6}: commit: 23122020
now can i get any files back from HEAD@{3}