2021-04-10 20:36:56 +01:00
|
|
|
# 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}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Modify the value of a local configuration variable, creating it if it doesn't exist:
|
2021-04-10 20:36:56 +01:00
|
|
|
|
|
|
|
`dolt config --add {{name}} {{value}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Modify the value of a global configuration variable, creating it if it doesn't exist:
|
2021-04-10 20:36:56 +01:00
|
|
|
|
|
|
|
`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}}`
|