PARTIAL REMOVE
Remove items in a partial replica with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Deletes a file or directory from version control.Usage
cm partial remove | rm <item_path>[ ...] [--nodisk]
Options
Option / Argument | Description |
|---|---|
| --nodisk | Removes from version control, but keeps the item on disk. |
| item_path | Items path to remove. Use double quotes (" ") to specify paths containing spaces. Use a whitespace to separate paths. |
Help
Remarks
Items are deleted from disk. Removed items are removed from the parent directory in the source code control.Requirements
- The item must be under source code control.
Examples
cm partial remove src
(Removes 'src'. If 'src' is a directory, this is the same that
cm partial remove -R src.)
(Removes 'pic01.png' from version control, but keeps it on disk.)cm partial remove c:\workspace\pic01.png --nodisk