Skip to content

/AWS1/CL_CMT=>UPDATEDEFAULTBRANCH()

About UpdateDefaultBranch

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository for which you want to set or change the default branch.

IV_DEFAULTBRANCHNAME TYPE /AWS1/CMTBRANCHNAME /AWS1/CMTBRANCHNAME

The name of the branch to set as the default branch.