DVC: add page including sub-commands checkout, init, add
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
beb5f2930a
commit
51190d4610
16
pages/common/dvc-checkout.md
Normal file
16
pages/common/dvc-checkout.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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}}`
|
Reference in New Issue
Block a user