To remove some unhappy commits I executed a git reset –hard. Unfortunately the hangover of missing some files was shortly after. I’ve read this post about undoing it. And it worked.
This listed a lot of files and commits.
git fsck --cache --unreachable $(git for-each-ref --format="%(objectname)")
I tried a few and was lucky to find what I needed in the top 4 commits.
git show COMMIT HASH
Recovered my files with cherry picking.
git cherry-pick COMMIT HASH