{
  "id": "git/lfs-pointer-not-smudged",
  "signature": "error: LFS: Unable to checkout '<file>' because it has LFS pointer content but Git LFS is not installed or configured",
  "signature_zh": "错误：LFS：无法签出 '<文件>'，因为它包含 LFS 指针内容但 Git LFS 未安装或未配置",
  "regex": "error: LFS: Unable to checkout '[^']+' because it has LFS pointer content but Git LFS is not installed or configured",
  "domain": "git",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "A file tracked by Git LFS contains only the pointer text (e.g., 'version https://git-lfs.github.com/spec/v1') instead of the actual content because Git LFS is not installed, not initialized, or the smudge filter is missing.",
  "root_cause_type": "generic",
  "root_cause_zh": "由 Git LFS 跟踪的文件仅包含指针文本（例如 'version https://git-lfs.github.com/spec/v1'），而不是实际内容，因为 Git LFS 未安装、未初始化或缺少 smudge 过滤器。",
  "versions": [
    {
      "version": "git-lfs 3.3.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git-lfs 3.4.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git-lfs 3.5.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "This bypasses LFS tracking, causing the large file to be stored directly in Git, defeating the purpose of LFS and bloating the repository.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The 'git lfs' command does not exist if LFS is not installed; the shell will return 'command not found'.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Install Git LFS: 'brew install git-lfs' (macOS) or 'sudo apt-get install git-lfs' (Linux), then run 'git lfs install' to set up filters, and 'git lfs pull' to download the actual file content",
      "success_rate": 0.95,
      "how": "Install Git LFS: 'brew install git-lfs' (macOS) or 'sudo apt-get install git-lfs' (Linux), then run 'git lfs install' to set up filters, and 'git lfs pull' to download the actual file content",
      "condition": "",
      "sources": []
    },
    {
      "action": "If installation is not possible, manually download the file from the LFS remote server using the OID in the pointer file: 'curl -H \"Accept: application/vnd.git-lfs+json\" <lfs-endpoint>/objects/<oid>'",
      "success_rate": 0.7,
      "how": "If installation is not possible, manually download the file from the LFS remote server using the OID in the pointer file: 'curl -H \"Accept: application/vnd.git-lfs+json\" <lfs-endpoint>/objects/<oid>'",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Install Git LFS: 'brew install git-lfs' (macOS) or 'sudo apt-get install git-lfs' (Linux), then run 'git lfs install' to set up filters, and 'git lfs pull' to download the actual file content",
    "If installation is not possible, manually download the file from the LFS remote server using the OID in the pointer file: 'curl -H \"Accept: application/vnd.git-lfs+json\" <lfs-endpoint>/objects/<oid>'"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs.1.ronn",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.93,
  "resolvable": "true",
  "first_seen": "2023-12-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}