LinuxCommandLibrary

dvc-config

Low level command to manage custom configuration options for dvc repositories.

TLDR

Get the name of the default remote

$ dvc config core.remote
copy


Set the project's default remote
$ dvc config core.remote [remote_name]
copy


Unset the project's default remote
$ dvc config --unset core.remote
copy


Get the configuration value for a specified key for the current project
$ dvc config [key]
copy


Set the configuration value for a key on a project level
$ dvc config [key] [value]
copy


Unset a project level configuration value for a given key
$ dvc config --unset [key]
copy


Set a local, global, or system level configuration value
$ dvc config --[local|global|system] [key] [value]
copy

Copied to clipboard