Articles Related
Management
Simulation
What will be deleted by using the -n option:
git clean -n
Force
Clean Step - beware: this will delete files:
git clean -f
Remove
ignored directories
git clean -f -d
#or
git clean -fd
ignored files
git clean -f -X
#or
git clean -fX
ignored and non-ignored files
git clean -f -x
#or git clean -fx