0

I have a lot of paths that contain build specific data:

a/b/c/d/SOME_RECURRING_FOLDER/
a/e/f/SOME_RECURRING_FOLDER/
a/g/i/a/b/c/d/SOME_RECURRING_FOLDER/

I would like to ignore all folders SOME_RECURRING_FOLDER and their content using a pattern-type solution (as there are hundreds of such SOME_RECURRING_FOLDER folders)

Is that possible in .gitignore?

Alex
  • 10,869
  • 28
  • 93
  • 165

2 Answers2

2

Put this into your .gitignore:

SOME_RECURRING_FOLDER/

More info:

Community
  • 1
  • 1
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
0

I think the following could work for this.

**/SOME_RECURRING_FOLDER/**