delete commit head
git reset HEAD^ --hard git push <<remote>> -f
Source: stackoverflow.com
delete commit head
git rebase --continue git push <remote_repo> <remote_branch> -f
Source: stackoverflow.com