mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
dolt-config: add page (#5720)
This commit is contained in:
parent
25a8f14863
commit
c30eb1d8b2
1 changed files with 28 additions and 0 deletions
28
pages/common/dolt-config.md
Normal file
28
pages/common/dolt-config.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# dolt config
|
||||
|
||||
> Read and write local (per repository) and global (per user) Dolt configuration variables.
|
||||
> More information: <https://docs.dolthub.com/interfaces/cli#dolt-config>.
|
||||
|
||||
- List all local and global configuration options and their values:
|
||||
|
||||
`dolt config --list`
|
||||
|
||||
- Display the value of a local or global configuration variable:
|
||||
|
||||
`dolt config --get {{name}}`
|
||||
|
||||
- Modify the value of a local configuration variable, creating it if does not exist:
|
||||
|
||||
`dolt config --add {{name}} {{value}}`
|
||||
|
||||
- Modify the value of a global configuration variable, creating it if does not exist:
|
||||
|
||||
`dolt config --global --add {{name}} {{value}}`
|
||||
|
||||
- Delete a local configuration variable:
|
||||
|
||||
`dolt config --unset {{name}}`
|
||||
|
||||
- Delete a global configuration variable:
|
||||
|
||||
`dolt config --global --unset {{name}}`
|
Loading…
Add table
Reference in a new issue