Interface CleanOptions

CleanOptions defines the supported options for the Git clean command.

Hierarchy

  • CleanOptions

Properties

--dry-run?: null

Outputs what would be done but doesn’t actually remove anything.

--exclude?: string

Uses the given exclude pattern in addition to the standard ignore rules.

--force?: null | [null, null?]

Satisfies Git configuration variable clean.requireForce. May be repeated to modify untracked nested Git repositories.

--quiet?: null

Reports errors but not the files successfully removed.

-X?: null

Removes only files ignored by Git.

-d?: null

Recurses into untracked directories.

-x?: null

Ignores the standard ignore rules.