Documentation

Support

Unity Version Control

REVERT

Revert changes with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

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