Synopsis
git clean [-d] [-f] [-x | -X] [-n] [-i] [<path>...]
Description
The git clean command removes untracked files from the working tree. By default it requires -f (or clean.requireForce = false) as a safety measure because deletions are irreversible. With -d it also removes untracked directories, and -x additionally removes files that are normally ignored (build outputs, dependency caches).