A clear coding plan before you change any files.
Recent revisions are kept. Restoring one creates a new revision.