Supabase CLI adds branches create command
Introduced 2026-05-18 · score 0.92
HOW TO USE IT
When creating a preview branch for a repository workflow, run `supabase branches create` with the branch name. The command creates a preview branch for the linked project.
supabase branches create <name>WHY THIS HELPS
Create a Supabase branch for a repository workflow.
REQUIREMENTS AND LIMITATIONS
- Version: 2.99.0
- name: Branch name positional argument; the documented usage shows it in brackets.
- --project-ref: Project ref for the Supabase project; available as a `branches` command flag.
- --notify-url: URL to notify when the branch is active and healthy.
- --persistent: Create a persistent branch.
- --region: Region to deploy the branch database.
- --size: Desired instance size for the branch database.
- --with-data: Clone production data to the branch database.
- Prerequisite: The command creates a preview branch for the linked project.
FIRST-PARTY EVIDENCE
- https://github.com/supabase/cli/releases/tag/v2.99.0
- https://github.com/supabase/cli/blob/v2.99.0/apps/cli/docs/go-cli-reference.md
Check the installed version and the source before using it. Entry JSON