Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-24 00:22:14 +00:00
parent 1a1835ed4d
commit 1dafedaa9a
2 changed files with 28 additions and 33 deletions

View File

@@ -5,14 +5,34 @@ source: https://github.com/tldr-pages/tldr.git
---
# dolt
> An SQL database that you can fork, clone, branch, merge, push and pull just like a Git repository.
> An SQL database that you can fork, clone, branch, merge, push, and pull just like a Git repository.
> Some subcommands such as `commit` have their own usage documentation.
> More information: <https://docs.dolthub.com/cli-reference/cli>.
- Execute a `dolt` subcommand:
- Initialize a new Dolt data repository:
`dolt {{subcommand}}`
`dolt init`
- List available subcommands:
- Show the current working tree status:
`dolt help`
`dolt status`
- Add a remote Dolt repository:
`dolt remote add {{repository_name}} {{url}}`
- Stage changes to tables:
`dolt add {{table_name}}`
- Record staged changes to the repository:
`dolt commit {{[-m|--message]}} "{{commit_message}}"`
- Push local changes to a remote:
`dolt push`
- Pull changes from a remote:
`dolt pull`