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 / Arg | Type | Default | Description |
|---|---|---|---|
<new-path> | text | Where the repo lives now; omit to pick from candidates under rt.repoRoots | |
--repo | text | Which indexed repo moved (identity, path, or name); omit to match by the new path's own identity | |
--dry-run | boolean | false | Print what would be re-pointed without writing |
--json | boolean | false | Machine-readable result |
See code: commands/repos.ts › reposLocate