WorktreeProvider Component
The<WorktreeProvider> provides worktree context to child components, enabling access to worktree-specific information like working directory and branch.
Basic Usage
useWorktree Hook
Access worktree context from any child component:Context Value
With Worktree Component
Usually used internally by the<Worktree> component: