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,329
  • 28
  • 89
  • 163

2 Answers2

2

Put this into your .gitignore:

SOME_RECURRING_FOLDER/

More info:

Community
  • 1
  • 1
Matt Ball
  • 344,413
  • 96
  • 627
  • 693
0

I think the following could work for this.

**/SOME_RECURRING_FOLDER/**