Undo git reset --hard

from blog Jonas Hietala, | ↗ original
I purposefully and more or less idiotically executed git reset --hard in hopes of going back a bit. What I didn’t realize then is that you throw away all the commits between now until . Not quite what was planned. After a bit of panic I found the answer: Find your hash using git reflog. Do git cherry-pick to go back in time. This saved me a...