Documentation

Support

Unity Version Control

CHANGESET DELETE

Delete changesets with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

Description

Deletes a changeset from the repository.

Usage

cm changeset delete | rm <csetspec>

Options

Option / Argument

Description

csetspecThe target changeset to be removed. It must fulfill some specific conditions. See Remarks for more info. (Use 'cm help objectspec' to learn more about changeset specs.)

Help

Remarks

  • The target changeset must be the last in its branch.
  • The target changeset cannot be the parent of any other changeset.
  • The target changeset cannot be neither the source of a merge link nor part of an interval merge as source.
  • No label must be applied to the target changeset.
  • The target changeset must not be the root changeset ('cs:0').

Examples

cm changeset rm cs:4525@myrepo@myserver
cm changeset delete cs:cb11ecdb-1aa9-4f11-8698-dcab14e5885a