{
  "id": "pip/error-command-errored-out-exit-status-128-git-clone",
  "signature": "ERROR: Command errored out with exit status 128: git clone --filter=blob:none 'git@github.com:user/private-repo.git' /tmp/pip-req-build-xxxxx",
  "signature_zh": "错误：命令以退出状态128出错：git clone --filter=blob:none 'git@github.com:user/private-repo.git' /tmp/pip-req-build-xxxxx",
  "regex": "Command errored out with exit status 128: git clone.*git@github\\.com.*private-repo\\.git",
  "domain": "pip",
  "category": "auth_error",
  "subcategory": null,
  "root_cause": "Pip failed to clone a private Git repository because the SSH key or authentication credentials are not configured correctly, or the user lacks access to the repository.",
  "root_cause_type": "generic",
  "root_cause_zh": "pip克隆私有Git仓库失败，因为SSH密钥或认证凭据配置不正确，或用户缺少对仓库的访问权限。",
  "versions": [
    {
      "version": "pip 21.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "pip 22.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "pip 23.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "HTTPS authentication requires a personal access token or password, which is not set in the URL.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "If SSH key is not set up, manual clone will also fail with permission denied.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Add your SSH key to the SSH agent: `eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_rsa` and test with `ssh -T git@github.com`.",
      "success_rate": 0.9,
      "how": "Add your SSH key to the SSH agent: `eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_rsa` and test with `ssh -T git@github.com`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a personal access token with HTTPS: `pip install git+https://<token>@github.com/user/private-repo.git`",
      "success_rate": 0.85,
      "how": "Use a personal access token with HTTPS: `pip install git+https://<token>@github.com/user/private-repo.git`",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "将SSH密钥添加到SSH代理：`eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_rsa` 并用 `ssh -T git@github.com` 测试。",
    "使用个人访问令牌通过HTTPS安装：`pip install git+https://<token>@github.com/user/private-repo.git`"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://pip.pypa.io/en/stable/topics/vcs-support/",
  "official_doc_section": null,
  "error_code": "ERROR",
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2024-01-10",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}