1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/dvc-checkout.md

488 B

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}}