mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 22:02:55 +00:00
Update cheatsheets
This commit is contained in:
21
dvc-checkout
Normal file
21
dvc-checkout
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user