dvc add

Add changed files to the index. More information: https://dvc.org/doc/command-reference/add.

dvc add path/to/file

dvc add path/to/directory

dvc add --recursive path/to/directory

dvc add --file custom_name.dvc path/to/file