2025-03-14 21:59:59 -06:00
|
|
|
# dvc
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
> Data Version Control system for machine learning projects.
|
2025-03-14 21:59:59 -06:00
|
|
|
> Some subcommands such as `commit` have their own usage documentation.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://dvc.org/doc/command-reference>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Initialize a new DVC project:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`dvc init`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Configure a remote storage location:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`dvc remote add {{storage_name}} {{url}}`
|
|
|
|
|
|
|
|
|
|
- Add one or more data files or directories to tracking:
|
|
|
|
|
|
|
|
|
|
`dvc add {{path/to/file_or_directory}}`
|
|
|
|
|
|
|
|
|
|
- Show project status:
|
|
|
|
|
|
|
|
|
|
`dvc status`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Upload tracked files to remote storage:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`dvc push`
|
|
|
|
|
|
|
|
|
|
- Download tracked files from remote storage:
|
|
|
|
|
|
|
|
|
|
`dvc pull`
|
|
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`dvc {{[-h|--help]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
|
|
`dvc --version`
|