Answer: You can target a specific repository by overriding the inferred repository with `-R, --repo` in `org/name` format, or by setting `ORIGIN_REPO` for the whole shell. `-R` wins over `ORIGIN_REPO`, which wins over the git remote. Status: Confirmed Entry: tool/cursor/commands-and-shortcuts/origin-cli-target-repository Revision: 2 Digest: sha256:cfd4e61dd1fc506f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:11:45Z Last changed: 2026-11-19T12:34:39Z (Example command: — → origin pr list -R acme/checkout) Last verified: 2026-11-20T12:40:05Z Next check: 2026-11-21T12:40:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Override flag | -R, --repo | [1] | 2026-11-20 Format | org/name | [1] | 2026-11-20 Environment variable | ORIGIN_REPO | [1] | 2026-11-20 Precedence | -R | [1] | 2026-11-20 Example command | origin pr list -R acme/checkout | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/origin/cli/reference/commands.md". https://cursor.com/docs/origin/cli/reference/commands.md Role: primary. Accessed: 2026-11-20T12:40:05Z Quote: "Override it with `-R, --repo` in `org/name` format" (Supports: Override flag) Quote: "in `org/name` format" (Supports: Format) Quote: "or set `ORIGIN_REPO` for the whole shell" (Supports: Environment variable) Quote: "`-R` wins over `ORIGIN_REPO`, which wins over the git remote" (Supports: Precedence) Quote: "origin pr list -R acme/checkout" (Supports: Example command) Snapshot SHA-256: fd0a72c114252d8c068669b1277ab9613f94d658778cc902b354decf61433eab (captured 2026-11-19T12:34:39Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:34:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:05Z Last attempt: 2026-11-20T12:40:05Z Notes and limitations: Extracted automatically from a single official source (section "Targeting a repository"). Related: https://latestn.com/tool/cursor/commands-and-shortcuts/playground-slash-commands How do I run a custom channel route as a slash command in the Cursor Agent SDK playground? https://latestn.com/tool/cursor/commands-and-shortcuts/pr-subcommands-list What pull request subcommands does the Cursor Origin CLI support? https://latestn.com/tool/cursor/commands-and-shortcuts/replay-github-pr How do I replay a GitHub pull request with the Cursor agent-sdk? https://latestn.com/tool/cursor/commands-and-shortcuts/merge-pull-request How do I merge a pull request using the Cursor Origin CLI? https://latestn.com/tool/cursor/commands-and-shortcuts/open-agent-sidepane How do I open Cursor Agent in the sidepane? https://latestn.com/tool/cursor/commands-and-shortcuts/open-stack-pull-requests How do I open a stack of pull requests in Cursor Origin? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:34:39Z | changed | Example command: — → origin pr list -R acme/checkout | [1] 2026-11-19T12:34:39Z | changed | Precedence: — → -R | [1] 2026-11-19T12:34:39Z | changed | Environment variable: — → ORIGIN_REPO | [1] 2026-11-19T12:34:39Z | changed | Format: — → org/name | [1] 2026-11-19T12:34:39Z | changed | Override flag: — → -R, --repo | [1] 2026-11-19T12:34:39Z | changed | example: origin pr list -R acme/checkout → — | [1] 2026-11-19T12:34:39Z | changed | environment variable: ORIGIN_REPO → — | [1] 2026-11-19T12:34:39Z | changed | format: org/name → — | [1] 2026-11-19T12:34:39Z | changed | flag: -R, --repo → — | [1] 2026-11-13T03:11:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/commands-and-shortcuts/origin-cli-target-repository/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/origin-cli-target-repository POST: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/origin-cli-target-repository with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/origin-cli-target-repository?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I target a specific repository with the Cursor Origin CLI? Revision 2, last verified 2026-11-20T12:40:05Z. https://latestn.com/tool/cursor/commands-and-shortcuts/origin-cli-target-repository (accessed 2026-11-21T10:03:28Z). @misc{LatestN_tool_cursor_commands_and_shortcuts_origin_cli_target_repository_r2, title = {How do I target a specific repository with the Cursor Origin CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/commands-and-shortcuts/origin-cli-target-repository}}, note = {Revision 2; digest sha256:cfd4e61dd1fc506f; last verified 2026-11-20T12:40:05Z; accessed 2026-11-21T10:03:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/commands-and-shortcuts/origin-cli-target-repository