HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dvc init — Initialize a new local DVC repository. More information: <https://doc.dvc.org/command-reference/init

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlocalnewdvc initclidvcinitializerepository

Problem

How to use the dvc init command: Initialize a new local DVC repository. More information: <https://doc.dvc.org/command-reference/init>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/dvc init

Revisions (0)

No revisions yet.