2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`dvc commit {{[-R|--recursive]}} {{path/to/directory}}`
|