UNDOCHECKOUTUNCHANGED
Undo unchanged checkouts with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Undoes non-changed checked out items.Usage
cm uncounchanged | unuc <item_path>[ ...] [-R | -r | --recursive] [--symlink] [--silent]
Options
Option / Argument | Description |
|---|---|
| -R | -r | --recursive | Undoes unchanged items recursively in the specified paths. |
| --symlink | Applies the uncounchanged operation to the link and not to the target. |
| --silent | Does not show any output. |
| item_path | Items to apply the operation. Use a whitespace to separate paths. Use double quotes (" ") to specify paths containing spaces. Use . to apply the operation to current directory. |
Help
Remarks
This command is applied from the root of the workspace recursively.Reading input from stdin
The 'uncounchanged' command can read paths from stdin. To do this, pass a single dash "-". Example: cm uncounchanged - Paths will be read until an empty line is entered. This allows you to use pipe to specify for which unchanged files to undo the checkout. Example:dir /S /B *.c | cm uncounchanged -Examples
(Undoes checkouts of not changed files recursively on the current directory.)cm uncounchanged . -R
(Undoes checkouts of not changed files recursively on the selected directory.)cm unuc /home/myuser/mywk/project/templates -R