Optional
--dry-Outputs what would be done but doesn’t actually remove anything.
Optional
--excludeUses the given exclude pattern in addition to the standard ignore rules.
Optional
--forceSatisfies Git configuration variable clean.requireForce. May be repeated to modify untracked nested Git repositories.
Optional
--quietReports errors but not the files successfully removed.
Optional
-XRemoves only files ignored by Git.
Optional
-dRecurses into untracked directories.
Optional
-xIgnores the standard ignore rules.
CleanOptions defines the supported options for the Git clean command.