class Git::Commands::Worktree::Repair

Repairs worktree administrative files

Resolves broken links between the repository and one or more linked worktrees. Useful after a worktree directory is moved manually.

@example Repair all registered worktrees

Git::Commands::Worktree::Repair.new(execution_context).call

@example Repair specific moved worktrees

Git::Commands::Worktree::Repair.new(execution_context).call('/tmp/moved1', '/tmp/moved2')

@note โ€˜arguments` block audited against

https://git-scm.com/docs/git-worktree/2.54.0

@see Git::Commands::Worktree Git::Commands::Worktree for the full sub-command list

@see git-scm.com/docs/git-worktree git-worktree documentation

@api private