Skip to main content
The clean command removes ignored and untracked files from your workspace, similar to git clean.
dv clean [-f]
The -f flag forces the removal of files without confirmation. This command is useful for removing build artifacts, temporary files, and other untracked content that you don’t want to keep.
This command permanently deletes files. Make sure you don’t have any important untracked files before running it.
An example of cleaning the workspace:
dv clean -f
This will remove all ignored and untracked files without asking for confirmation.
Files listed in your .dvignore file are considered ignored files and will be removed by this command.