Show branch details

branches

// what it does

Prints one branch's metadata — parent, production flag, ready state, region. Its exit code tells you whether the branch exists, which makes it the idempotency check in provisioning scripts (create only if show fails).

// shell

$ pscale branch show mydb add-users-table
$ pscale branch show mydb add-users-table --format json

// gotcha

A branch can exist but not be ready yet; check the ready field, not just the exit code, before connecting in automation.

// resources