Command option Sample:aws codecommit get-branch

Search command sample in the internet.It is the result.

Returns information about a repository branch, including its name andthe last commit ID.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/codecommit/get-branch.html

aws codecommit get-branch --repository-name MyDemoRepo --branch-name MyNewBranch
    list-branches — AWS CLI 1.16.4 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/codecommit/get-branch.html
aws codecommit get-branch --repository-name
    jawsug-cli-handson-37/codecommit.md at master 揃 NobuhiroNakayama/jawsug-cli-handson-37 揃 GitHub : http://github.com/NobuhiroNakayama/jawsug-cli-handson-37/blob/master/codecommit.md
aws codecommit get-branch --repository-name [repositoryname] --branch-name master
     Creating a CI/CD Pipeline on AWS - Part I: CodeCommit : http://www.aaronmedacco.com/blog/post/2017/05/02/creating-a-ci-cd-pipeline-on-aws-part-i-codecommit

aws のオプション一覧