nobody pulled yet
git reset --hard <commit-hash-one-before-the-bad-commit>
git push --force
someone already pulled
git revert <bad-commit-hash>
git push
Welcome to my world
git reset --hard <commit-hash-one-before-the-bad-commit>
git push --force
git revert <bad-commit-hash>
git push