# PARTIAL REMOVE

> Remove items in a partial replica with the Unity Version Control CLI.

## Description

Deletes a file or directory from version control.

### Usage

```bash
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

```bash
cm partial remove src
```

#### (Removes 'src'. If 'src' is a directory, this is the same that

```bash
cm partial remove -R src.)
```

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

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