git reset --hard
git push origin HEAD --force
If one or more of the commits is tagged, delete the tag(s) first. Otherwise the tagged commit is not removed.
git reset --hard
git push origin HEAD --force
If one or more of the commits is tagged, delete the tag(s) first. Otherwise the tagged commit is not removed.