mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 12:41:37 +00:00
22 lines
489 B
Plaintext
22 lines
489 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://dvc.org/doc/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 --recursive {{path/to/directory}}`
|