Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties


Description

Create a repository commit . Use parameter name for the commit message. If name is not provided, a system generated name will be used. Use parameter branch to specify the target branch of this commit. User required parameter path to specify for a single file add, change, or delete. The path parameter path specifies the path of the repository file to be added, changed, or deleted. Use parameter the data or file parameter file to provide new contents of the file otherwise the file . If parameter data and parameter file are not specified, the path specified repository file will be deletedwill be deleted. Use the name parameter for the commit message. If name is not provided, a system generated name will be used.

Required Parameters

repository, path

Optional Parameters

workspace, name, userId, parent, path, data, file, branch

Type

Create

Category

Commits

Output Formats

Replacement Variables

commit, commitMessage

Since Version10.5

Examples

createCommit


...