Cheat Sheet
This cheat sheet briefly summarizes the main version-control features of Dolt with simple examples. Most commands can be executed on the command line or in a SQL session. Most Dolt commands take the same options as Git commands.
Click links in the comments section to read docs for the feature.
Setup and init
SQL server | Dolt CLI | Comments |
---|---|---|
|
| Creates a new Dolt database |
|
|
Stage and snapshot
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
Branch and merge
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
Diffing
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
Status and logs
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
|
History
History querying is specific to the SQL server and has no command line equivalent.
SQL server | Comments |
---|---|
| |
| |
| |
|
Working with remotes
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Advanced use cases
SQL server | Dolt CLI | Comments |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| No equivalent | |
|
| |
| No equivalent | |
| No equivalent |
Last updated