Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 312 Bytes

File metadata and controls

16 lines (11 loc) · 312 Bytes

To delete a branch

This example shows how to delete a branch in an AWS CodeCommit repository.

Command:

aws codecommit delete-branch --repository-name MyDemoRepo --branch-name MyNewBranch

Output:

{
  "branch": {
      "commitId": "317f8570EXAMPLE",
      "branchName": "MyNewBranch"
  }
}