Remove a data remote. This command affects DVC configuration files only, it does not physically remove data files stored remotely.
usage: dvc remote remove [-h] [--global | --system | --local] [-q | -v]
name
positional arguments:
name Name of the remote to remove
This command removes a section in the DVC config file. Alternatively, it is possible to edit config files manually.
The name
argument is required.
--global
- save remote configuration to the global config (e.g.
~/.config/dvc/config
) instead of .dvc/config
.--system
- save remote configuration to the system config (e.g.
/etc/dvc/config
) instead of .dvc/config
.--local
- modify a local config file
instead of .dvc/config
. It is located in .dvc/config.local
and is
Git-ignored.-h
, --help
- prints the usage/help message, and exit.-q
, --quiet
- do not write anything to standard output. Exit with 0 if no
problems arise, otherwise 1.-v
, --verbose
- displays detailed tracing information.Add Amazon S3 remote:
$ dvc remote add myremote s3://mybucket/path
Remove it:
$ dvc remote remove myremote