Set up your CLI and control how it starts.
Recent revisions are kept. Restoring one creates a new revision.