1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:22:09 +02:00

DVC: add pages for sub commands commit, config, dag

This commit is contained in:
Puneetha Pai 2020-07-23 12:21:21 +05:30 committed by Starbeamrainbowlabs
parent 51190d4610
commit e94e07d26d
4 changed files with 71 additions and 2 deletions

View file

@ -0,0 +1,16 @@
# dvc commit
> Record changes to DVC-tracked files in the project.
> More information: <https://dvc.org/doc/command-reference/commit>.
- Commit latest version, for all DVC-tracked files and directories:
`dvc commit`
- Commit latest version, for a given DVC-tracked target:
`dvc commit {{target}}`
- Recursively commit all DVC-tracked files in a directory:
`dvc commit --recursive {{path/to/directory}}`

View file

@ -0,0 +1,33 @@
# dvc config
> Low level command to manage custom configuration options for dvc repositories.
> These configurations can be project/local/global/system level.
> More information: <https://dvc.org/doc/command-reference/config>.
- Get default remote name:
`dvc config core.remote`
- Set project default remote:
`dvc config core.remote {{remote_name}}`
- Unset project default remote:
`dvc config --unset core.remote`
- Get project config value for a key:
`dvc config key`
- Set project level config value for a key:
`dvc config key value`
- Unset project level config value for a key:
`dvc config --unset key`
- Set local/global/system level config:
`dvc config --local/global/system key value`

20
pages/common/dvc-dag.md Normal file
View file

@ -0,0 +1,20 @@
# dvc dag
> Visualize the pipeline(s) in dvc.yaml
> More information: <https://dvc.org/doc/command-reference/dag>.
- Visualize entire pipeline:
`dvc dag`
- Visualize pipeline stages up to a target stage:
`dvc dag {{target}}`
- Export pipeline in dot format:
`dvc dag --dot > pipeline.dot`
- Export pipeline as SVG:
`dvc dag --dot | dot -Tsvg -o pipeline.svg`

View file

@ -15,6 +15,6 @@
`dvc {{command}} --help`
- Execute Git command:
- Execute DVC command:
`git {{command}}`
`dvc {{command}}`