LinuxCommandLibrary

dvc-config

manage DVC configuration settings

TLDR

Set configuration value

$ dvc config [core.remote] [myremote]
copy
Get configuration value
$ dvc config [core.remote]
copy
Set global config
$ dvc config --global [core.autostage] true
copy
List all config
$ dvc config --list
copy
Unset config value
$ dvc config --unset [core.remote]
copy

SYNOPSIS

dvc config [options] [name] [value]

DESCRIPTION

dvc config manages DVC configuration at local, global, and system levels. Configuration controls behavior including default remote, caching, and automation settings.
Local configuration applies to the current repository, global to the current user, and system to all users. Local settings override global, which override system.
Common configurations include setting the default remote storage and enabling auto-staging of .dvc files with Git.

PARAMETERS

NAME

Configuration key.
VALUE
Configuration value.
--global
Use global configuration.
--system
Use system configuration.
--local
Use repository configuration.
--list, -l
List all configuration.
--unset
Remove configuration entry.
--help
Display help information.

CONFIGURATION

.dvc/config

Repository-level DVC configuration file.
~/.config/dvc/config
Global user configuration file.

CAVEATS

Some options need repository context. Invalid keys may be accepted. Requires appropriate permissions for system config.

HISTORY

dvc config follows conventions from Git config, providing familiar configuration management for DVC settings.

SEE ALSO

dvc(1), git-config(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community