Skip to main content

Module worktree

Module worktree 

Source
Expand description

rk worktree list | add | prune: the worktree half of the local cleanup pair.

Mode-free by design: the verbs behave identically under the worktree and branches workflows, and the recorded mode gates only what the landed blocks render. The landed branches surface’s idioms hold throughout — preview by default, --apply to act, --json with a versioned schema, --quiet for the hook path, exit 0 for any report, and refusals through the existing matrix. Every git spawn lives here; crate::worktree stays pure.

Functions§

run
Dispatch the worktree surface.