Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

38
dvc-config Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`