{
  "slug": "glab-auth-login-can-set-up-the-git-credential-helper-cf8c954ac49c",
  "title": "glab auth login can set up the Git credential helper",
  "tools": [
    "glab"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-20T12:17:01.108Z",
  "announced_at": "2026-10-20T12:17:01.108Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When authenticating glab for repository work and you want Git to use glab for this host, run `glab auth login` with `--setup-git-credential-helper`.",
    "examples": [
      "glab auth login --hostname <HOSTNAME> --token <GITLAB_TOKEN> --setup-git-credential-helper"
    ],
    "gotchas": [
      "Version: v1.124.0",
      "--setup-git-credential-helper: Configures glab as the Git credential helper for this host without prompting; documented for non-interactive runs such as CI/CD jobs.",
      "--hostname <HOSTNAME>: Selects the GitLab instance. If omitted, glab resolves the host from the Git remote, environment, or configuration.",
      "--token <GITLAB_TOKEN>: Provides the GitLab access token for authentication."
    ]
  },
  "why_it_matters": "Configure Git credential-helper setup while authenticating glab for repository work.",
  "sources": [
    "https://gitlab.com/gitlab-org/cli/-/releases/v1.124.0",
    "https://docs.gitlab.com/ja-jp/cli/auth/login/"
  ],
  "rank": 0.93042,
  "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": "daily-20261026-04",
    "verdict_id": "daily-20261026-04:daily-20261026-04-e5065fc863512103-1:gate",
    "evidence_hash": "fa4a166337d26330beab73e6d1198ebd3afe3da9367c7e856bd71ba7d214416b"
  },
  "review": {
    "draft_hash": "0fabf9453d87948a03e3943f8b67444e7c4150b49faf6e085acb945cc4663376",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-20T12:17:01.108Z",
    "decision": "daily-20261026-04:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
