Examples (4)
Add a single target file to the index
dvc add path/to/fileAdd a target directory to the index
dvc add path/to/directoryRecursively add all the files in a given target directory
dvc add --recursive path/to/directoryAdd a target file with a custom `.dvc` filename
dvc add --file custom_name.dvc path/to/filemade by @shridhargupta | data from tldr-pages