2025-03-14 21:59:59 -06:00
|
|
|
# dvc init
|
|
|
|
|
|
|
|
|
|
> Initialize a new local DVC repository.
|
|
|
|
|
> More information: <https://dvc.org/doc/command-reference/init>.
|
|
|
|
|
|
|
|
|
|
- Initialize a new local repository:
|
|
|
|
|
|
|
|
|
|
`dvc init`
|
|
|
|
|
|
|
|
|
|
- Initialize DVC without Git:
|
|
|
|
|
|
|
|
|
|
`dvc init --no-scm`
|
|
|
|
|
|
|
|
|
|
- Initialize DVC in a subdirectory:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cd {{path/to/subdirectory}} && dvc init --sudir`
|