Other Version Control Commands

This section describes commands that are common to all the supported Version Control Systems.


We do not recommend using VCS-related commands manually or through CI/CD processes, as these are commands designed to be used by the Administration Tool and the Design Studio.


VCSDISCARD reverts uncommitted changes in the selected element.

Syntax of the VCSDISCARD statement
VCSDISCARD <element-path:literal> [ WITH_GLOBAL_ELEMENTS ]

When discarding changes at the database level on a database which contains modified elements depending on modified global elements, the operation will be aborted unless the optional WITH_GLOBAL_ELEMENTS clause is included in the command.

The section Discard of the Administration Guide provides more details about this operation.