Skip to contents

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

See https://www.paws-r-sdk.com/docs/codecommit_update_default_branch/ for full documentation.

Usage

codecommit_update_default_branch(repositoryName, defaultBranchName)

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.