From 66c76976c707feb63f186a9d90bde613f321ed27 Mon Sep 17 00:00:00 2001 From: Chris Hubbard Date: Wed, 30 Oct 2024 10:56:07 -0400 Subject: [PATCH] Ignore temporary data directories with the namng pattern data-XXX There are times when I need to compare data from different apps or data generated by different version of SAB/DAB. So I have been copying the data to something like "data-sab", "data-12.1.1", etc. I don't want these showing up in the changed files.` Since we already had data-sandbox as a source directory, I had to do a bit of fudging with the patterns so that new files in that directory would not be ignored, but the data-sandbox/node_modules would still be ignored. Ugh. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 1d2e6397d..530ad0f8c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ node_modules .env.* !.env.example data/* +data-*/* +!data-sandbox/* +data-sandbox/node_modules !data/.empty static/sab-stylesheet.css static/badges