Documentation

Support

Unity Version Control

PARTIAL SHELVESET APPLY

Apply shelvesets in a partial replica with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

Description

Applies a stored shelveset.

Usage

cm partial shelveset apply <sh_spec> [--encoding=<name>] [--comparisonmethod=(ignoreeol | ignorewhitespaces| ignoreeolandwhitespaces | recognizeall)]

Options

Option / Argument

Description

--encodingSpecifies the output encoding, i.e.: utf-8. See the MSDN documentation at http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx to get the table of supported encodings and its format, (at the end of the page, in the "Name" column).
--comparisonmethodSets the comparison method. See Remarks for more info.
sh_specShelveset specification. (Use 'cm help objectspec' to learn more about shelveset specs.)

Help

The 'partial shelveset apply' command restores the contents of a stored shelveset.

Remarks

Comparison methods

Option / Argument

Description

ignoreeolIgnores end of line differences.
ignorewhitespacesIgnores whitespace differences.
ignoreeolandwhitespacesIgnores end of line and whitespace differences.
recognizeallDetects end of line and whitespace differences.

Examples

cm partial shelveset apply sh:3
(Applies a stored shelve.)