Checkpoint a directory (rollback point)
sh_checkpointSnapshot a working directory under a label to restore later. Use before risky or irreversible changes to safeguard your work.
Instructions
Snapshot a working directory under a label so you can restore it later with sh_restore. Excludes .git and node_modules. Take one before a risky or irreversible change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Checkpoint name ([A-Za-z0-9._-]). | |
| dir | No | Directory to snapshot. Defaults to server cwd. |