Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.capy.sc/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

capy branch              # list and interactively switch
capy branch -D <name>    # delete a branch

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) and prompts you to switch to another. With -D <name>, Capy deletes the named branch. You can’t delete the branch you’re currently on - switch first.

Flags

FlagDescription
-D <name>Delete the named branch. Prompts for confirmation.

Example

$ capy branch

  Project "my-app"
    ├── development current
    ├── staging
    └── production   (protected)

? Switch branch:
 staging
    production
    Stay on current branch

See also