.dvcignore Patterns
The .dvcignore file plays a crucial role in DVC (Data Version Control) projects by marking which files and/or directories should be excluded when traversing a DVC project. It allows you to specify patterns or paths that DVC should ignore during operations.
In this exercise, you will modify the contents of a .dvcignore file to set file patterns that DVC should ignore during operation. You will also use the dvc check-ignore command to verify whether specific targets are ignored by DVC according to the .dvcignore file.
Cet exercice fait partie du cours
Introduction to Data Versioning with DVC
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice