git replace

Create, list, and delete refs to replace objects. More information: https://git-scm.com/docs/git-replace.

git replace {{object}} {{replacement}}

git replace --delete {{object}}

git replace --edit {{object}}