PARTIAL REMOVE

Description

Deletes a file or directory from version control.

Usage

cm partial remove | rm <item_path>[ ...] [--nodisk]

Options

Option / ArgumentDescription
--nodiskRemoves from version control, but keeps the item on disk.
item_pathItems 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.)

cm partial remove c:\workspace\pic01.png --nodisk

(Removes 'pic01.png' from version control, but keeps it on disk.)