Reset commit after push
Soft reset will keep your modification in index, but remove it from commited.
$ git commit -a -m "test undo"
$ git push origin master
$ git reset --soft HEAD^1
If current branch behind, push again with -f (force).
$ git push -f origin master
Last update: 390 days ago