Set the local branch one revision back (HEAD^ means one revision back): `git reset --hard HEAD^` Push the changes to origin: `git push --force`