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 |
|---|---|
| revspec | Object specification. (Use 'cm help objectspec' to learn more about rev specs.) |
Help
Examples
(Gets changeset 3 revision of 'file.txt'.)cm getrevision file.txt#cs:3