> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rangesharp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Version History

> View and restore previous versions of a spot.

## What is version history?

Every time you make significant changes to a spot, RangeSharp can save a **snapshot** of the range data. These snapshots form a version history that lets you go back to a previous state if needed.

## Viewing version history

1. Select a spot in the strategy tree.
2. In the detail panel (right side), look for the **Version History** section.
3. You'll see a list of saved snapshots with timestamps.

## Restoring a previous version

<Steps>
  <Step title="Find the version you want">
    Browse the version list and find the snapshot you want to restore.
  </Step>

  <Step title="Click Restore">
    Click **Restore** next to the version. The grid updates to show the restored range data.
  </Step>

  <Step title="The current state is preserved">
    Restoring a version doesn't delete your current work — it creates a new snapshot of the current state before applying the restore. You can always go back.
  </Step>
</Steps>

## When versions are saved

Version snapshots are created:

* When you import data over an existing range
* When you restore a previous version
* At other significant change points

## Version history vs. undo

| Feature         | Undo (⌘Z)                      | Version history                 |
| --------------- | ------------------------------ | ------------------------------- |
| **Scope**       | Individual cell changes        | Full range snapshots            |
| **Depth**       | Up to 100 levels per session   | Persisted across sessions       |
| **Persistence** | Lost when you leave the page   | Saved permanently               |
| **Use case**    | Quick "oops, wrong cell" fixes | Reverting to a known-good state |

<Tip>
  Use **undo** for small mistakes during an editing session. Use **version history** when you want to revert to a completely different state of the range — for example, after an import that didn't work out.
</Tip>
