CmdID / aws / aws codecommit
aws codecommit get-branch
Returns information about a repository branch, including its name and the last commit ID. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--branch-nameThe name of the branch for which you want to retrieve information.--repository-nameThe name of the repository that contains the branch for which you want to retrieve information.