CmdID

CmdID / aws / aws codecommit

aws codecommit update-default-branch

Sets or changes the default branch name for the specified repository. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--default-branch-nameThe name of the branch to set as the default branch.
--repository-nameThe name of the repository for which you want to set or change the default branch.