Edit on GitHub

DVC Project

Initialized by running dvc init in your workspace directory, a DVC project will contain all of the DVC metafiles and directories, such as the cache, dvc.yaml, and .dvc files. Any other files referenced from these DVC metafiles are also considered part of the project (e.g. metrics files).

dvc destroy can be used to remove all DVC-specific files from the directory, in effect deleting the DVC project.

DVC repository

A DVC project in a Git repository can also be called a DVC repository or "the repo". This setup enables the versioning features of DVC (recommended). Files tracked by Git are considered part of the DVC project when referenced from DVC metafiles such as dvc.lock; for example source code that is used as a stage command (cmd field in dvc.yaml).

Further Reading

Content

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat