Delete a branch

branches

// what it does

Deletes a development branch and its data. Do it as soon as a deploy request merges — or have the DR do it automatically with --auto-delete-branch at creation.

// shell

$ pscale branch delete mydb add-users-table
$ pscale branch delete mydb stale-branch --force

// gotcha

--force skips confirmation and --delete-descendants takes child branches down too; a deleted branch's passwords and roles die with it, so anything still connected loses access instantly.

// resources