RescriptusStart writing

Help › Your files

History and restoring

Every chapter, wiki page and note keeps its earlier versions, wherever your project is kept. Read them, compare, restore, and bring back something you deleted.

Where History comes from depends on where your project is kept:

  • GitHub: from Git. You do not need to know Git.
  • Google Drive: from Drive's saved versions. Drive keeps older versions for about 30 days or 100 saves, so its history is shorter than GitHub's.
  • This browser, or a folder on your computer: from Rescriptus itself, which keeps earlier versions of each page in this browser as you write. See This browser or a folder below.

Look at earlier versions

  1. Open the chapter, wiki page or note.
  2. Open the History tab.
  3. You see saved versions, grouped by day, with the time and a short message. On GitHub the latest 40 for that file are shown; in this browser or a folder, all that are kept (see below). On GitHub and Google Drive, a version someone else saved says who (by Sam); your own saves don't.
  4. Open one to read it. You can compare it with your text now, with changed words marked, or read the full text.

On GitHub a version appears once it has been sent to GitHub, so the last few minutes of typing may not be listed yet. In this browser or a folder, the list holds the text that each save replaced, so your latest text is the page itself, not a line in the list.

Restore

  • Restore this whole version makes that text the current text. You confirm first.
  • Restore a passage brings back just that passage and leaves the rest of the text as it is now.

Before restoring, anything waiting is sent, so it is not lost. The text you replaced is itself saved in history, so a restore can be undone by restoring the one before it.

What you can restore

  • Earlier text of a chapter, wiki page or note.
  • A version removed with Use this version on an alternative.
  • Text replaced with Keep mine after a clash.
  • In this browser or a folder: a chapter, wiki page or note you deleted (see below).

Deleting

Deleting a chapter, book, wiki page or note shows an Undo button for a few seconds. After that:

  • In this browser or a folder, the page stays under Recently deleted for 30 days. It is at the foot of the History tab, for chapters also on the book's page, and for wiki pages also at the foot of the wiki's page. Choose Restore and the page comes back with its earlier versions. If something has taken its place meanwhile, a chapter comes back as the last chapter of the book, and anything else gets "(restored)" in its name. Nothing already there is ever replaced.
  • On GitHub the file is still in your repository's Git history, and you can bring it back from there. Recently deleted says how.
  • In Google Drive, look in Drive's bin.

This browser or a folder

Rescriptus keeps these versions itself, in this browser.

  • What is kept. The text a save replaces, at most once every five minutes of writing for each page, so an hour of writing leaves about a dozen versions, not one per keystroke. The first change to a page always keeps what it started as.
  • Before anything risky, the text is kept first: restoring, importing, splitting or merging chapters, Use this version and Keep mine, and moving, renaming or deleting.
  • Thinning. Old versions are thinned, not dropped, so a chapter you work on for months still has versions from weeks and months back. Every version is kept for a day; after that one an hour for a week, then one a day for three months, then one a week. Of each hour, day or week, the newest version stays.
  • Limits. About 50 MB for the whole project. When that is full the oldest versions go first. A deleted page's versions stay for 30 days.
  • Renaming or moving a page, or renumbering chapters, takes its versions along.
  • Only in this browser. They are not in the folder, and they do not move with it to another computer or browser. They are not in Download everything either, and clearing this site's data in your browser deletes them with the project. Keep your own backups too (see Choosing where your writing lives).

Limits

  • On GitHub, History is as detailed as your commits. Rescriptus sends changes in batches, so there is one version per batch, not one per keystroke.
  • It shows the latest 40 versions of one file. On GitHub, older ones are still in your repository.

Your repository

On GitHub you can also see the full history there, with no limit, and use any Git tool.