Dolt is Git for Data: a SQL database that you can fork, clone, branch, merge
This is absolutely fascinating, conceptually.<p>However, I&#x27;m struggling to figure out a real-world use case for this. I&#x27;d love if anyone here can enlighten me.<p>I don&#x27;t see how it can be for production databases involving lots of users, because while it seems appealing as a way to upgrade and then roll back, you&#x27;d lose all the new data inserted in the meantime. When you roll back, you generally want to roll back changes to the schema (e.g. delete the added column) but not remove all the rows that were inserted&#x2F;deleted&#x2F;updated in the meantime.<p>So does it handle use cases that are more like SQLite? E.g. where application preferences, or even a saved file, winds up containing its entire history, so you can rewind? Although that&#x27;s really more of a temporal database -- you don&#x27;t need git operations like branching. And you really just need to track row-level changes, not table schema modifications etc. The git model seems like way overkill.<p>Git is built for the use case of lots of different people working on different parts of a codebase and then integrating their changes, and saving the history of it. But I&#x27;m not sure I&#x27;ve ever come across a use case for lots of different people working on the <i>data and schema</i> in different parts of a database and then integrating their <i>data and schema</i> changes. In any kind of shared-dataset scenario I&#x27;ve seen, the schema is tightly locked down, and there&#x27;s strict business logic around who can update what and how -- otherwise it would be chaos.<p>So I feel like I&#x27;m missing something. What is this actually intended for?<p>I wish the site explained why they built it -- if it was just &quot;because we can&quot; or if projects or teams actually had the need for git for data?