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

Parameters

changeset The changeset to submit.
list The list of assets to submit.
description The description of the changeset.
saveOnly If 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.