{"version":"2.1.280","anchor":"head-updates-now-create-a-reflog-entry","canonical_anchor":"head-updates-now-create-a-reflog-entry","heading":"HEAD updates now create a reflog entry","tier":"internal","area":"Git Integration","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/head-updates-now-create-a-reflog-entry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### HEAD updates now create a reflog entry\n\nUpdating HEAD via git now always creates a reflog entry\n\n**What**\n\nWhen Claude Code updates the git `HEAD` reference internally (using `update-ref`), it now passes the `--create-reflog` flag in addition to the existing `--no-deref` flag. A reflog is git's record of where a reference has pointed over time, letting changes be traced or undone.\n\n**Why**\n\nEnsuring a reflog entry exists for these HEAD updates makes it possible to trace or recover from changes Claude Code makes to HEAD, even in repositories where a reflog might not otherwise have been created.\n\n- Area: Git Integration\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}