mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
498 B
Plaintext
22 lines
498 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# dvc commit
|
|
|
|
> Record changes to DVC-tracked files in the project.
|
|
> More information: <https://doc.dvc.org/command-reference/commit>.
|
|
|
|
- Commit changes to all DVC-tracked files and directories:
|
|
|
|
`dvc commit`
|
|
|
|
- Commit changes to a specified DVC-tracked target:
|
|
|
|
`dvc commit {{target}}`
|
|
|
|
- Recursively commit all DVC-tracked files in a directory:
|
|
|
|
`dvc commit {{[-R|--recursive]}} {{path/to/directory}}`
|