src repo list-branches

List Repository Branches

Usage

src repo list-branches [flags]

Examples

List branches in current repository

src repo list-branches --org myorg myrepo

List branches in repository

src repo list-branches -R myorg/myrepo

Limit results

src repo list-branches --limit 20

JSON output

src repo list-branches --json

Flags

Flag Description
-L, --limit int Maximum number of items to return (default "30")

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json string Output JSON, optionally filtered (--json or --json=field1,field2)
--json-compact string Output compact JSON, optionally filtered
--plain Output without colors/styling (for LLM consumption)
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src repo list-branches <subcommand> --help for more information about a command.

Предыдущая
Следующая