git сбросит обратно в предыдущий подтолкенный коммит

git reset --hard 'xxxxx'

git clean -f -d

git push -f
Jittery Jay