Resolve
resolveTranslate a path:line or path::name between Git refs to locate the enclosing structure at the source and its counterpart (same spot, renamed, or nearest match) at the destination.
Instructions
Translate path:line or path::name from one ref to another: the enclosing structure with start and end at --from, and where it is at --to (same place, renamed with an identical body, or gone, with the nearest names). In your shell: sct resolve <path:line> --from REF or sct resolve <path::name> --from REF --to REF (if sct is not on PATH, "/app/.venv/bin/python" -m scantool.cli replaces sct).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| ref_to | No | WORKTREE | |
| location | Yes | ||
| ref_from | No | ||
| output_format | No | tree |