Files
cheatsheet-tldr/tldr/dvc-init

22 lines
396 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://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:
`cd {{path/to/subdir}} && dvc init --sudir`