1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/common/dvc-config.md
Vitor Henrique d79a1667e3
pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

33 lines
856 B
Markdown

# 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://dvc.org/doc/command-reference/config>.
- Get the name of the default remote:
`dvc config core.remote`
- Set the project's default remote:
`dvc config core.remote {{remote_name}}`
- Unset the project's default remote:
`dvc config --unset core.remote`
- Get 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 --unset {{key}}`
- Set a local, global, or system level configuration value:
`dvc config --{{local|global|system}} {{key}} {{value}}`