Do a git revert
Last updated
Last updated
This is a default option and doesn't need to be specified. This option will open the configured system editor and prompts you to edit the commit message prior to committing the revert.
This is the inverse of the -e
option. The revert will not open the editor.
Passing this option will prevent git revert
from creating a new commit that inverses the target commit. Instead of creating the new commit this option will add the inverse changes to the Staging Index and Working Directory.