文档

支持

Unity Version Control

REVERT

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

Description

Reverts an item to a previous revision.

Usage

cm revert <revspec>

Options

Option / Argument

Description

revspecSpecification of the changeset that contains the revision which content will be loaded in the workspace. (Use 'cm help objectspec' to learn more about revision specs.)

Help

Remarks

The item must be checked in.

Examples

cm revert dir#cs:0
cm revert C:\mywks\dir\file1.txt#23456