Revisions

SnipCraft records a revision every time you save a snippet, giving you a full history you can review and restore from at any point.

Automatic revision history

Every save creates a new revision automatically — there is nothing to configure. Over time you build up a complete history of every version of a snippet's code, letting you see exactly what changed between saves and when.

Revisions are stored alongside the snippet. They do not count toward any snippet limits and do not affect how the active version runs.

Restoring a version

If you need to roll back to an earlier version, the process is straightforward:

  1. Open the snippet you want to roll back.
  2. Open its revision history panel.
  3. Select the version you want and confirm the restore.

Restoring a version copies that version's code into the snippet editor. You can review it before saving, so restoring never overwrites your current code until you explicitly save.

See getting started for where revisions fit in the editing flow, and safe mode for recovering a site after a bad save.