Lost commits after a bad
git reset --hard? They're probably still there.
git reflog git branch rescue <sha>
git reflog records everywhere HEAD has been. Find the SHA, park it on a branch, and you're back.commit 2641960