snippetbashTip
dvc config — Low level command to manage custom configuration options for dvc repositories. These configurations
Viewed 0 times
commandleveldvc configclimanagecustomlow
Problem
How to use the
dvc config command: 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://doc.dvc.org/command-reference/config>.Solution
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://doc.dvc.org/command-reference/config>.Get the name of the default remote:
dvc config core.remoteSet the project's default remote:
dvc config core.remote {{remote_name}}Unset the project's default remote:
dvc config {{[-u|--unset]}} core.remoteGet the configuration value for a specified key for the current project:
dvc config {{key}}Set the configuration value for a key on a project level:
dvc config {{key}} {{value}}Unset a project level configuration value for a given key:
dvc config {{[-u|--unset]}} {{key}}Set a local, global, or system level configuration value:
dvc config --{{local|global|system}} {{key}} {{value}}Code Snippets
Get the name of the default remote
dvc config core.remoteSet the project's default remote
dvc config core.remote {{remote_name}}Unset the project's default remote
dvc config {{[-u|--unset]}} core.remoteGet the configuration value for a specified key for the current project
dvc config {{key}}Set the configuration value for a key on a project level
dvc config {{key}} {{value}}Context
tldr-pages: common/dvc config
Revisions (0)
No revisions yet.