/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
codecommit
/
Upload File
HOME
**To get information about a branch** This example gets information about a branch in an AWS CodeCommit repository. Command:: aws codecommit get-branch --repository-name MyDemoRepo --branch-name MyNewBranch Output:: { "BranchInfo": { "commitID": "317f8570EXAMPLE", "branchName": "MyNewBranch" } }