Git Clean Ignored Files


Example

git clean -fX

Will remove all ignored files from the current directory and all subdirectories.

git clean -Xn

Will preview all files that will be cleaned.