{"version":"2.1.336","anchor":"rewind-files-recovery-hardened-git-tracked-check","canonical_anchor":"rewind-files-recovery-hardened-git-tracked-check","heading":"Restoring files after a rewind no longer overwrites files that changed","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/rewind-files-recovery-hardened-git-tracked-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Restoring files after a rewind no longer overwrites files that changed\n\nAfter a rewind, Claude Code now compares file contents and checks git before restoring, so it does not overwrite changed files\n\n**What**\n\nRewinding returns a conversation to an earlier point, and Claude Code can restore your files to match. When it does, it now compares each file's actual contents and asks git whether the file is tracked, and leaves a file alone if it has changed. Before, it only compared where a symbolic link (a file that points to another file) pointed.\n\n**Why**\n\nFewer of your files get overwritten by a rewind when they have changed since.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}