Skip to main content

clawker worktree prune

Remove stale worktree entries from the registry

Synopsis

Removes worktree entries from the project registry when the worktree directory, git metadata, or branch no longer exists. This can happen when:
  • Native ‘git worktree remove’ was used (bypasses clawker registry)
  • ‘clawker worktree remove’ failed partway through
  • Manual deletion of worktree directory
Use ‘clawker worktree list’ to see which entries are stale before pruning.

Examples

Options

Options inherited from parent commands

See also