Agentfly

Your session

Local file history

Your session · 1 min read

Agentfly quietly keeps its own copies of files as you edit them, separate from your project's history.

When you would want it

For the moment you delete something you needed and had not saved into your project's history yet. It is the undo that survives closing the file.

Where to find it

  • All Features → Local file history
  • Open local history
  • Turn on or off
  • Settings

What you get out of it

  • The undo that survives closing the file, restarting the machine, and never having committed.
  • Read-only snapshots mean recovery can never destroy current work.

How to use it, step by step

  1. On by default - Agentfly keeps its own copies of files as you edit, independent of git.
  2. File - Local History lists every snapshot of the file in front of you, newest first.
  3. It says plainly when there are none yet, so you never guess.
  4. Pick a snapshot - it opens read-only beside your working copy, so nothing can be overwritten by accident.
  5. Copy back exactly the parts you need.

Why this beats the usual way

Git covers what you committed; most editors offer nothing beyond that. Local history covers the gap between saves and commits, which is precisely where the panic lives.

Find it in Universal Search

Local file history · Your session · undo history · previous versions · before i saved · restore a version