文档

支持

Unity Version Control

GETREVISION

Load revisions with the Unity Version Control CLI.
阅读时间1 分钟最后更新于 5 个月前

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'.)