Skip to main content
List an app’s main branch and its active branches. Use this to find the exact name to pass to the --branch flag when reading or editing files on a branch through the sandbox commands. Merged and deleted branches don’t appear. This command doesn’t require a local project. Target an app by passing --app-id, setting the BASE44_APP_ID environment variable, or running the command from a linked project if you have one.

Usage

Flags

Output

Each line is a branch name followed by its status. main is always listed first:
With --json, the command returns a branches array with the same entries:

See also