PURGE REGISTER
Register purge operations with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Computes and registers a purge action. File revisions older than the selected date(s) would be considered for purging and, as a rule, we will keep at least a revision in every branch head and labeled revisions. You can use thecm purge showcm purge executeUsage
cm purge register (<extension> <before_date>)... [--repository=<rep_spec>]
Options
Option / Argument | Description |
|---|---|
| --repository | Repository where the purge is intended to be applied. It is not necessary within a workspace path but to pick a different one. |
| extension | Extension of the file type to be purged. Note that revisions of renamed items will also be considered for its removal. |
| before_date | Only revisions older than this date will be considered for its removal. |
Help
Examples
(registers a purge action over revisions of Matroska files created before a certain date)cm purge register ".mkv" "1955-Nov-05 6:00 AM"
(you can specify just the date or just the time)cm purge register ".mkv" "6:00 AM"
(you can specify the time in UTC instead of local time)cm purge register ".mkv" "6:00Z"
(you can specify a different repository to register the purge)cm purge register ".mkv" "1955-Nov-05 6:00 AM" --repository=timemachine