1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:22:08 +02:00
tldr/pages/common/dvc-checkout.md
2021-08-15 19:59:09 +02:00

16 lines
465 B
Markdown

# dvc checkout
> Checkout data files and directories from cache.
> More information: <https://dvc.org/doc/command-reference/checkout>.
- Checkout the latest version of all target files and directories:
`dvc checkout`
- Checkout the latest version of a specified target:
`dvc checkout {{target}}`
- Checkout a specific version of a target from a different Git commit/tag/branch:
`git checkout {{commit_hash|tag|branch}} {{target}} && dvc checkout {{target}}`