Version Control
Branch, clone, merge, diff, patch, time-travel, and collaboration
Subtopics
20 pages
Audit Data Changes
Step-by-step tutorial to audit who changed what and when using TerminusDB's immutable commit log. Query history, diff commits, and trace field-level changes.
Recover Data from Version History
Step-by-step tutorial to recover deleted or corrupted data using TerminusDB's immutable commit history. View the log, branch from a known-good commit, and reset.
Your First 10 Minutes with TerminusDB
Get started with TerminusDB in 10 minutes. Clone a ready-made dataset, then branch, diff, and merge — the full git-for-data workflow with zero setup.
Branch a Project with the TerminusDB Dashboard
A guide to show how to branch projects using the TerminusDB dashboard.
Clone a Project using the TerminusDB Dashboard
A guide to show how to clone a project using the TerminusDB dashboard.
How to Branch Your Database
Step-by-step guide to database branching in TerminusDB — create, list, switch, diff, merge, and delete branches with HTTP API, TypeScript, and Python examples.
How to Merge Branches
Step-by-step guide to merging branches in TerminusDB — apply changes, detect conflicts, resolve them, and roll back failed merges. HTTP API, TypeScript, and Python examples.
How to Time-Travel (Query Historical Data)
Step-by-step guide to querying historical data in TerminusDB — get commit history, query at a specific commit, compare points in time, and restore previous states. HTTP API, TypeScript, and Python examples.
How to Undo Changes (Reset, Revert, Squash)
Step-by-step guide to undoing changes in TerminusDB — reset to a previous commit, revert specific changes, squash commits, and understand the difference between reset and revert. HTTP API, TypeScript, and Python examples.
Manual reverse branch cloning
How to manually clone branches between data products
Perform a Delta Rollup
How delta rollup works in TerminusDB. Automatic in standard deployments via the built-in rollup plugin — manual optimisation is available for custom deployments.
Querying Layers with GraphQL
Learn how to query TerminusDB layer objects using GraphQL to navigate version control history and repository structure.
Reset a Branch to a Previous Commit
How to reset a TerminusDB branch to a specific commit using the JavaScript client, Python client, or HTTP API.
Reset a Project with the TerminusDB Dashboard
A guide to show how to reset to a particular commit of a branch or main using the TerminusDB dashboard.
Set Commit Messages on Document Operations
How to set author and message on document writes so the commit log records who made the change and why.
Squash Commits on a Branch
How to squash multiple commits into one using the JavaScript client, Python client, or HTTP API.
Squash Commits with the TerminusDB Dashboard
A guide to show how to squash the commits of a branch or main into one large commit using the TerminusDB dashboard.
Time Travel using the DFRNT TerminusDB cloud dashboard
A guide to show how to time travel to any previous commit using the DFRNT TerminusDB cloud dashboard.
Git-for-Data Reference
Complete reference for Git-for-Data operations in TerminusDB — push, pull, fetch, clone, rebase, and remote management with HTTP API, TypeScript, and Python examples.
Version Control Operations — Git for Data
TerminusDB is a git for data database. Complete reference for git-based version control operations — branch, merge, diff, time-travel, reset, and squash with HTTP API examples and expected responses.