I have a folder foo
that is included in gitignore:
- .gitignore (this contains 'foo')
- foo
*
*** bar
When I run git clean -f
or git clean -f -x
, this does not delete bar (bar is a normal file).
Is there a way to tell git to clean inside ignored folders?