Keep training caches and logs out of your checkout.
Recent revisions are kept. Restoring one creates a new revision.