Rewind warnings and errors
These messages come from a /rewind code restore. Restored the code, but skipped N files is a warning that Claude Code skipped some paths. No files were restored is an error that means it restored nothing.
Restored the code, but skipped files
A /rewind code restore skipped one or more tracked paths instead of writing or deleting through them. Claude Code skips a path when:
- it is, or became, a symlink, hard link, or other non-regular file
- its directory changed since the checkpoint
- its backup can't be safely read
Skipped paths keep their current contents. Before v2.1.216, /rewind wrote and deleted through links at tracked paths, and didn't report a partial restore.
text
Restored the code, but skipped 2 files: the tracked path is (or became) a link or other non-regular file, its directory changed since the checkpoint, or its backup could not be safely read. Skipped files were left untouched — run with --debug for the paths.What to do: