Apply suggestions from code review
Thanks @sbrl. Will keep grammatical mistakes to minimum next time :smile Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
c6d6d7618c
commit
91e565ba81
@@ -1,33 +1,33 @@
|
||||
# dvc config
|
||||
|
||||
> Low level command to manage custom configuration options for dvc repositories.
|
||||
> These configurations can be project/local/global/system level.
|
||||
> These configurations can be on project, local, global, or system level.
|
||||
> More information: <https://dvc.org/doc/command-reference/config>.
|
||||
|
||||
- Get default remote name:
|
||||
- Get the name of the default remote:
|
||||
|
||||
`dvc config core.remote`
|
||||
|
||||
- Set project default remote:
|
||||
- Set the project's default remote:
|
||||
|
||||
`dvc config core.remote {{remote_name}}`
|
||||
|
||||
- Unset project default remote:
|
||||
- Unset the project's default remote:
|
||||
|
||||
`dvc config --unset core.remote`
|
||||
|
||||
- Get project config value for a key:
|
||||
- Get the config value for a specified key for the current project:
|
||||
|
||||
`dvc config key`
|
||||
`dvc config {{key}}`
|
||||
|
||||
- Set project level config value for a key:
|
||||
- Set the config value for a key on a project level:
|
||||
|
||||
`dvc config key value`
|
||||
`dvc config {{key}} {{value}}`
|
||||
|
||||
- Unset project level config value for a key:
|
||||
- Unset a project level config value for a given key:
|
||||
|
||||
`dvc config --unset key`
|
||||
`dvc config --unset {{key}}`
|
||||
|
||||
- Set local/global/system level config:
|
||||
- Set a local, global, or system level config value:
|
||||
|
||||
`dvc config --local/global/system key value`
|
||||
`dvc config --local/global/system {{key}} {{value}}`
|
||||
|
Reference in New Issue
Block a user