Commit before reverting