4 ms·
Right, but it is with Dolt. That's the point. CALL DOLT_REVERT('bad-commit-hash') Works just like git revert: creates an inverse of the changes in the commit
by zachmu 4y ago
Right, but it is with Dolt. That's the point.
CALL DOLT_REVERT('bad-commit-hash')
Works just like git revert: creates an inverse of the changes in the commit given and applies it as a patch.
- qaq 4y agoso I have commit1 drop table blah commit2 create table blah with diff schema I revert commit1 what would be the state?
- aboodman 4y agoIt will be a conflict. But you can commit the revert to a different branch and run both schemas at the same time. This provides a lot of flexibility! Check out https://www.dolthub.com/blog/2022-04-29-dolt-revert/ https://www.dolthub.com/blog/2022-04-29-dolt-revert/ for some discussion of this.