{
  "slug": "jj-git-push-targets-multiple-remotes-ac329c2f80ea",
  "title": "jj git push targets multiple remotes",
  "tools": [
    "jj"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-07T21:28:17.000Z",
  "announced_at": "2026-10-07T21:28:17.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When repository changes need to reach multiple configured Git remotes, run `jj git push` with repeatable `--remote` patterns or set `git.push` to a string pattern or array of patterns.",
    "examples": [
      "jj git push --remote '<pattern-1>' --remote '<pattern-2>'",
      "jj config set --repo git.push '[\"<pattern-1>\", \"<pattern-2>\"]'"
    ],
    "gotchas": [
      "Version: v0.46.0",
      "--remote <REMOTE>: Remote name pattern to push to; repeatable. Patterns use glob syntax by default and support other string pattern syntax.",
      "git.push: Default remote pattern, or array of patterns, used by `jj git push`. Patterns use glob syntax by default.",
      "git.push[] (each array item): String pattern selecting a remote; the docs show multiple patterns in one array. Mutually exclusive with nothing documented.",
      "Prerequisite: The target Git remotes must be configured in the repository.",
      "`--remote` is repeatable and accepts string patterns.",
      "Docs conflict: The v0.46.0 push source contains a stale command comment saying there is no option to push to multiple remotes; the release note and same file's `--remote` argument documentation specify repeatable remotes."
    ]
  },
  "why_it_matters": "Push repository changes to multiple configured Git remotes in one `jj git push` operation.",
  "sources": [
    "https://github.com/jj-vcs/jj/releases/tag/v0.46.0",
    "https://github.com/jj-vcs/jj/blob/v0.46.0/cli/src/commands/git/push.rs",
    "https://github.com/jj-vcs/jj/blob/v0.46.0/docs/config.md"
  ],
  "rank": 0.99032,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-3819bdf23a51cc87-12:gate",
    "evidence_hash": "c349f85a5c6a8f91cc504671584220dee91ad8b01e7640a220afb424a30cc72f"
  },
  "review": {
    "draft_hash": "c0edf5eaa19867320a2e7414681c05eda0c65779a6c83c28602bd5888adb73d5",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T21:28:17.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.65 (>= 0.6 needed)."
  }
}
