Files
cheatsheet-tldr/tldr/dvc-init
2025-12-20 00:20:53 +00:00

22 lines
402 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dvc init
> Initialize a new local DVC repository.
> More information: <https://doc.dvc.org/command-reference/init>.
- Initialize a new local repository:
`dvc init`
- Initialize DVC without Git:
`dvc init --no-scm`
- Initialize DVC in a subdirectory:
`cd {{path/to/subdirectory}} && dvc init --sudir`