CmdID / aws / aws codecommit
aws codecommit delete-branch
Deletes a branch from a repository, unless that branch is the default branch for the repository. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--branch-nameThe name of the branch to delete.--repository-nameThe name of the repository that contains the branch to be deleted.