After making a temporary commit to the root of a repo, which has submodules, I haphazardly ran git reset --hard HEAD^ with the intention of just deleting said c
git reset --hard HEAD^