{
  "id": "bbg-p0328-deployment-release-and-versioning-deployment",
  "title": "Git Reset Modes",
  "chapter": "deployment-release-and-versioning",
  "batch": "25",
  "rank": 250,
  "sourcePage": 328,
  "sourcePointer": "p. 328",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "flowchart",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render and extracted text inspected",
      "preserve HEAD, index, working directory, and soft/mixed/hard reset effects",
      "omit source branch artwork"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: HEAD moves",
      "concept: index can match commit",
      "concept: working directory can be changed",
      "concept: soft mixed hard reset"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "state",
      "label": "Git state surfaces",
      "x": 54,
      "y": 126,
      "w": 852,
      "h": 156
    },
    {
      "id": "modes",
      "label": "Reset modes",
      "x": 160,
      "y": 350,
      "w": 640,
      "h": 112
    }
  ],
  "shapes": [
    {
      "id": "head",
      "kind": "rect",
      "label": "HEAD",
      "detail": "branch commit",
      "x": 150,
      "y": 176,
      "w": 124,
      "h": 58,
      "tone": "blue"
    },
    {
      "id": "index",
      "kind": "rect",
      "label": "Index",
      "detail": "staging",
      "x": 418,
      "y": 176,
      "w": 124,
      "h": 58,
      "tone": "orange"
    },
    {
      "id": "worktree",
      "kind": "rect",
      "label": "Worktree",
      "detail": "files",
      "x": 686,
      "y": 176,
      "w": 124,
      "h": 58,
      "tone": "green"
    },
    {
      "id": "soft",
      "kind": "rect",
      "label": "Soft",
      "detail": "move HEAD",
      "x": 206,
      "y": 380,
      "w": 118,
      "h": 52,
      "tone": "purple"
    },
    {
      "id": "mixed",
      "kind": "rect",
      "label": "Mixed",
      "detail": "reset index",
      "x": 420,
      "y": 380,
      "w": 118,
      "h": 52,
      "tone": "teal"
    },
    {
      "id": "hard",
      "kind": "rect",
      "label": "Hard",
      "detail": "reset files",
      "x": 634,
      "y": 380,
      "w": 118,
      "h": 52,
      "tone": "red"
    }
  ],
  "connectors": [
    {
      "from": "head",
      "to": "index",
      "label": "can update",
      "flow": "main"
    },
    {
      "from": "index",
      "to": "worktree",
      "label": "can update",
      "flow": "main"
    },
    {
      "from": "soft",
      "to": "head",
      "label": "only",
      "flow": "control"
    },
    {
      "from": "mixed",
      "to": "index",
      "label": "also",
      "flow": "control"
    },
    {
      "from": "hard",
      "to": "worktree",
      "label": "also",
      "flow": "control"
    }
  ]
}
