Skip to main content

Module helpers

Module helpers 

Source

Functions§

get_branch_for_worktree
Get the branch for a worktree path from parse_worktrees output.
get_worktree_metadata
Get worktree metadata (base branch and base repository path).
is_global_mode
parse_repo_branch_target
Parse ‘repo:branch’ notation.
resolve_worktree_target
Resolve worktree target to (worktree_path, branch_name, worktree_repo).
set_global_mode