# Undo and history

> Every edit is a step you can list, undo and redo, and every step says who made it.

Source: https://alexgalhardo.github.io/vukem-video/docs/guide/undo-and-history/

## You will learn

- how to list the history and see who changed what;
- how to undo and redo your own steps.

## Quick start

**CLI**

```bash
vukem-video history --project prj_7k2m9x4q1b
vukem-video undo --project prj_7k2m9x4q1b
vukem-video redo --project prj_7k2m9x4q1b
```

**MCP**

The `history` tool with `action` set to `list`, `undo` or `redo`.

Undo reverts the latest step of the caller that asks, not the latest step of anyone. If another actor changed the same thing since, the step is skipped and the result says why (`changed_by_other_actor`). Undo is itself a revision, so it can be undone.

## Common mistakes

- Nothing to undo: `E_NOTHING_TO_UNDO`. Nothing to redo: `E_NOTHING_TO_REDO`.

## Next steps

- [Exporting](/docs/guide/exporting)
