History
Agrafe keeps versions of your files as you save them; small edits saved within about 15 seconds of each other are merged into one version. The History tab lists them, lets you compare any version with the current file and bring an old one back.
The timeline
Versions of all files are listed newest first, each with its file, its date and, for a grouped version, its group name. File: narrows the list to one file; All files shows them all again.
The newest version of each file is marked HEAD: it is the file as it is now. Older versions may show as (pruned): they fell outside what your plan keeps.
| Plan | Versions kept per file |
|---|---|
| Free | The latest two. |
| Pro | The latest one, plus everything saved in the last 7 days. |
Versions in a group are always kept.
With one file selected, Graph view draws its history as a branch graph; List view goes back to the list.
Comparing and restoring
Click a version to open it next to the current file: a purple Diff: file @ version tab replaces the editor, with the differences highlighted. Close the tab (or click HEAD) to return to the editor.
On the selected version, press and hold Restore. Its content is saved as a new version on top of the current one: nothing in the history is lost, and you can restore the newer version again.
Grouping versions
Tick the boxes of several versions to act on them together:
| Button | Action |
|---|---|
| Group… | Names the selection as a checkpoint, for example Before the big rename. A group may include several files. Its versions are never pruned. |
| Squash… | Only when the ticked versions are the latest ones of a single file. Merges them into one version with the message you give. |
| Clear | Unticks everything. |
Groups are listed at the top of the timeline. Rename one with its pencil or delete it with its trash; deleting a group keeps its versions.