If you want to cancel the commit you just made, you can use the `git reset` command to undo it. Here are the steps to revert the commit: