From c30eb1d8b23e6f4596fa02173fd3a2f6f65a988e Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Sat, 10 Apr 2021 15:36:56 -0400 Subject: [PATCH] dolt-config: add page (#5720) --- pages/common/dolt-config.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/dolt-config.md diff --git a/pages/common/dolt-config.md b/pages/common/dolt-config.md new file mode 100644 index 000000000..ebdd79760 --- /dev/null +++ b/pages/common/dolt-config.md @@ -0,0 +1,28 @@ +# dolt config + +> Read and write local (per repository) and global (per user) Dolt configuration variables. +> More information: . + +- 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}}`