Add --dry-run option to the revert command.