Skip to main content

Synopsis

Description

Lists the secret branches in the current project. With no arguments, Capy prints a tree view of all branches (marking the current one and any protected branches). If the project has more than one branch, Capy then prompts you to switch to another; picking one runs the same switch as capy checkout. capy branch is disabled in local-only mode - local mode has no server, so there is only the single active branch. With -D <name>, Capy deletes the named branch and every secret in it. You can’t delete the branch you’re currently on - switch first.

Flags

Example

See also

Last modified on August 11, 2026