-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Hi,
We want to use cleanBeforeCheckout() options but we want to exclude node_modules from cleaning. [Git clean](https://git-scm.com/docs/git-clean) has -e option which we want to use in this case.
So do you think it would be a good idea to pass extra arguments to cleanBeforeCheckout:
cleanBeforeCheckout("-e node_modules")
Excluding files from cleanBeforeCheckout can be very useful. In my case I'm unstashing some pipeling scripts before the checkout and this steps wipes them out. I would like to be able to specify an exclude pattern which would invoke the -e flag of the git clean command