git checkout master

git reset –hard “codice_esadecimale_del_commit”

git push –force origin master