I had a lot of local changes.
I just accidentally did
git merge another_branch
git reset --hard HEAD^
on a lot of work. :( with the intention I didn't want the merged changes in here.
How do I recover the original state?
No, the local changes were never committed/stashed.
No way?
git stash
? Might be what you need, but I'm not 100% certain – Dendrology