/AWS1/CL_CMT=>CREATECOMMIT()
¶
About CreateCommit¶
Creates a commit for a repository on the tip of a specified branch.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_REPOSITORYNAME
TYPE /AWS1/CMTREPOSITORYNAME
/AWS1/CMTREPOSITORYNAME
¶
The name of the repository where you create the commit.
IV_BRANCHNAME
TYPE /AWS1/CMTBRANCHNAME
/AWS1/CMTBRANCHNAME
¶
The name of the branch where you create the commit.
Optional arguments:¶
IV_PARENTCOMMITID
TYPE /AWS1/CMTCOMMITID
/AWS1/CMTCOMMITID
¶
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
IV_AUTHORNAME
TYPE /AWS1/CMTNAME
/AWS1/CMTNAME
¶
The name of the author who created the commit. This information is used as both the author and committer for the commit.
IV_EMAIL
TYPE /AWS1/CMTEMAIL
/AWS1/CMTEMAIL
¶
The email address of the person who created the commit.
IV_COMMITMESSAGE
TYPE /AWS1/CMTMESSAGE
/AWS1/CMTMESSAGE
¶
The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.
IV_KEEPEMPTYFOLDERS
TYPE /AWS1/CMTKEEPEMPTYFOLDERS
/AWS1/CMTKEEPEMPTYFOLDERS
¶
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false.
IT_PUTFILES
TYPE /AWS1/CL_CMTPUTFILEENTRY=>TT_PUTFILEENTRIES
TT_PUTFILEENTRIES
¶
The files to add or update in this commit.
IT_DELETEFILES
TYPE /AWS1/CL_CMTDELETEFILEENTRY=>TT_DELETEFILEENTRIES
TT_DELETEFILEENTRIES
¶
The files to delete in this commit. These files still exist in earlier commits.
IT_SETFILEMODES
TYPE /AWS1/CL_CMTSETFILEMODEENTRY=>TT_SETFILEMODEENTRIES
TT_SETFILEMODEENTRIES
¶
The file modes to update for files in this commit.