mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
17 lines
488 B
Markdown
17 lines
488 B
Markdown
![]() |
# dvc checkout
|
||
|
|
||
|
> Update data files and directories in the workspace based on current DVC-files.
|
||
|
> More information: <https://dvc.org/doc/command-reference/checkout>.
|
||
|
|
||
|
- Checkout to latest version, for all target files and directories:
|
||
|
|
||
|
`dvc checkout`
|
||
|
|
||
|
- Checkout to latest version, for a given target:
|
||
|
|
||
|
`dvc checkout {{target}}`
|
||
|
|
||
|
- Checkout specific version of target from different Git commit/tag/branch:
|
||
|
|
||
|
`git checkout {{commit_hash/tag/branch}} {{target}} && dvc checkout {{target}}`
|