Esta página aún no está traducida; se muestra la versión en inglés.

Beta Próximamente. Esta función aún está en desarrollo; los nombres y detalles pueden cambiar antes del lanzamiento.

Local history

Ingot keeps a private version of a file every time you save it and every time an agent changes it, so you can compare with any earlier version and put it back, even if you never committed it.

Open it

WayHow
Command paletteFile: Show Local History
Shortcut⌘⌥⇧H (Ctrl+Alt+Shift+H on Windows and Linux)
Editorright-click › File History › Show Local History

It opens for the file in the active editor, in a tab called Local History: cart.ts.

Compare and restore

The list shows every version, newest first, with its time and label. Select one to see a side-by-side diff with the current file (↑ and ↓ move through the list).

Click Restore to put the selected version back. The current text is saved as Before restore first, so a restore can always be undone, and the whole restore is one undo step in the editor.

When versions are saved

LabelWhen
Savedevery save, including auto-save
Originalthe file as it was when first opened, if it differs
Before agent edit / Agent editwhen an agent's change arrives for review, and after you accept or reject it
Before inline edit / Inline editthe same for inline edits
Before restoreright before a restore

A version identical to the one before it isn't stored twice. Auto-saves of a file with an agent change still waiting for review are skipped, so a half-reviewed proposal never becomes a version.

Where it lives

Versions are kept in your project under .ingot/history/, which ignores itself in git. Each file keeps its newest 100 versions. Files over 2 million characters and files outside the open project aren't tracked.

Local history is a safety net on this machine, not a backup. Commit work you want to keep (Git workflow).