Update Default Branch
codecommit_update_default_branch | R Documentation |
Sets or changes the default branch name for the specified repository¶
Description¶
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.
Usage¶
Arguments¶
repositoryName
[required] The name of the repository for which you want to set or change the default branch.
defaultBranchName
[required] The name of the branch to set as the default branch.
Value¶
An empty list.