Completely stuffed up your code and pushed to main anyway? Easy fix
git reset --hard <commit sha>git push -f