Version history
Bedrock keeps a history of every doc so you can look back and recover earlier text. Open the History tab in the Inspector (right panel) for the current doc.
Automatic snapshots
Every save writes a snapshot to .bedrock/history. Snapshots are
deduplicated and capped, so the history stays useful without growing without
bound. You can also take one on demand with Save snapshot (⌘S also
snapshots).
Git timeline
If your workspace is a git repository, Bedrock merges the file's commit history into the same timeline as the auto-snapshots — newest first — so you see both Bedrock's fine-grained saves and your real commits in one place.
Diff and restore
Click any entry to see a word-level diff between that version and the current text. From there you can Restore the historic content back into the file (restoring also snapshots the current state first, so nothing is lost).
Committing
When the workspace is a git repo, the status line shows the branch and the number
of changed files. Commit changes… (status line or command palette) opens a
dialog to stage selected files and write a commit message. Bedrock's internal
.bedrock/ folder is excluded from commits.