tldr/pages/common/dvc-config.md
Puneetha Pai 91e565ba81 Apply suggestions from code review
Thanks @sbrl. Will keep grammatical mistakes to minimum next time :smile

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2020-08-21 23:53:25 +01:00

824 B

dvc config

Low level command to manage custom configuration options for dvc repositories. These configurations can be on project, local, global, or system level. More information: https://dvc.org/doc/command-reference/config.

  • Get the name of the default remote:

dvc config core.remote

  • Set the project's default remote:

dvc config core.remote {{remote_name}}

  • Unset the project's default remote:

dvc config --unset core.remote

  • Get the config value for a specified key for the current project:

dvc config {{key}}

  • Set the config value for a key on a project level:

dvc config {{key}} {{value}}

  • Unset a project level config value for a given key:

dvc config --unset {{key}}

  • Set a local, global, or system level config value:

dvc config --local/global/system {{key}} {{value}}