Skip to main content

rt repos locate

rt › repos › locate

Tell rt where a repo moved to — re-points the index, worktree registry, endpoint claims and git's worktree admin files together

Usage

rt repos locate <new-path> [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
<new-path>textWhere the repo lives now; omit to pick from candidates under rt.repoRoots
--repotextWhich indexed repo moved (identity, path, or name); omit to match by the new path's own identity
--dry-runbooleanfalsePrint what would be re-pointed without writing
--jsonbooleanfalseMachine-readable result

See code: commands/repos.ts › reposLocate