Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / codecommit / list-branches.rst
Size: Mime:
**To view a list of branch names**

This example lists all branch names in an AWS CodeCommit repository. ::

    aws codecommit list-branches \
        --repository-name MyDemoRepo

Output::

    {
        "branches": [
            "MyNewBranch",
            "main"
        ]
    }