{
  "id": "git/rebase-interactive-no-op",
  "signature": "error: empty commit set passed",
  "signature_zh": "错误：传入了空的提交集",
  "regex": "error: empty commit set passed",
  "domain": "git",
  "category": "runtime_error",
  "subcategory": null,
  "root_cause": "During an interactive rebase, the specified commit range is empty (e.g., HEAD~0 or no commits selected to rebase), so Git has nothing to do.",
  "root_cause_type": "generic",
  "root_cause_zh": "在交互式变基期间，指定的提交范围为空（例如 HEAD~0 或没有选择要变基的提交），因此 Git 无事可做。",
  "versions": [
    {
      "version": "git 2.29.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.35.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.40.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The same empty commit set will be passed again, causing the same error.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "There is no ongoing rebase; the error occurs before the rebase starts.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "If no rebase is in progress, this directory may not exist; deleting it does not fix the command.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Specify a valid commit range: git rebase -i HEAD~3 (rebase last 3 commits) instead of HEAD~0.",
      "success_rate": 0.95,
      "how": "Specify a valid commit range: git rebase -i HEAD~3 (rebase last 3 commits) instead of HEAD~0.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If you want to rebase from a specific commit, use: git rebase -i <commit-hash> (e.g., git rebase -i abc123).",
      "success_rate": 0.9,
      "how": "If you want to rebase from a specific commit, use: git rebase -i <commit-hash> (e.g., git rebase -i abc123).",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check current branch status with 'git log --oneline -5' to ensure there are commits to rebase.",
      "success_rate": 0.85,
      "how": "Check current branch status with 'git log --oneline -5' to ensure there are commits to rebase.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Specify a valid commit range: git rebase -i HEAD~3 (rebase last 3 commits) instead of HEAD~0.",
    "If you want to rebase from a specific commit, use: git rebase -i <commit-hash> (e.g., git rebase -i abc123).",
    "Check current branch status with 'git log --oneline -5' to ensure there are commits to rebase."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://git-scm.com/docs/git-rebase",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-08-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}