⌨️CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING
Also known as CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING=1
Set to 1, it saves no copies. Then /rewind cannot undo edits.
Think of it like
It is like you turn off undo in a drawing app.
Example
Emma runs Claude Code in a throwaway container that is wiped after each job. Saving copies there is wasted work, so she sets this.
Why it matters
Checkpoints use disk and time. Where you never need undo, you can skip them.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING=1
claudeCommon mistake
Key takeaways
- 1No checkpoints. Before edits.
- 2No /rewind for code. When set.
- 3Wins over the setting. fileCheckpointingEnabled.