Documentation

Support

Unity Version Control

GETREVISION

Load revisions with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

Description

Loads a revision in the workspace. This command modifies the revision loaded in the workspace, so it can affect future merges. It is an advanced command inherited from old versions, so use it with care.

Usage

cm getrevision <revspec>

Options

Option / Argument

Description

revspecObject specification. (Use 'cm help objectspec' to learn more about rev specs.)

Help

Examples

cm getrevision file.txt#cs:3
(Gets changeset 3 revision of 'file.txt'.)