Rewrite master with Revert