Instantly share code, notes, and snippets.
Reset it to previous commit -
git reset --hard HEAD^
Force a push -
git push --force