commit before renaming