Hopefully does what it says on the tin.
This will create a new commit in order to revert the existing changes.