dvc remote names and locations.
Reads DVC configuration and prints the list of available remotes, including their names and URLs/paths. Remotes are read from the system, global, project, and local config files (in that order).
--system- only read remote configuration from the system config file (e.g.
/etc/xdg/dvc/config) instead of
--global- only read remote configuration from the global config file (e.g.
~/.config/dvc/config) instead of
--project- only read remote configuration from the project's config file (
.dvc/config) when reading remote configuration.
--local- only read remote configuration from the Git-ignored local config file (located in
.dvc/config.local) instead of
--help- prints the usage/help message, and exit.
--quiet- do not write anything to standard output. Exit with 0 if no problems arise, otherwise 1.
--verbose- displays detailed tracing information.
For simplicity, let's add a default local remote:
$ dvc remote add -d myremote /path/to/remote Setting 'myremote' as a default remote.
And now the list of remotes should look like:
$ dvc remote list myremote /path/to/remote
The list will also include any previously added remotes.