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 ascapy 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
capy checkout- switch branches non-interactively, create branches- Branches - conceptual overview