Version: 2018.2
public static VersionControl.Task Submit (VersionControl.ChangeSet changeset, VersionControl.AssetList list, string description, bool saveOnly);

Parameters

changesetThe changeset to submit.
listThe list of assets to submit.
descriptionThe description of the changeset.
saveOnlyIf true then only save the changeset to be submitted later.

Description

Start a task that submits the assets to version control.

In some version control systems submit is known as commit.