I've just updated my .gitignore file to not include node and bower module files.
node_modules/
.tmp
.sass-cache
sample/bower_components/
sample/node_modules/
sample/images/
But when I run git clean -f
, my terminal responded with
Removing sample/scripts
of course, the sample/scripts
is the folder that I want to keep in the project, and I haven't specified it in the .gitignore, so why is it being removed??