[object Object]

← back to Sister Parish Onboarding

broaden .gitignore to exclude .bak/.pre-* snapshot files and .next/

f1ec46dbeeae4772169b5546f6f9bc7ae71d2f9f · 2026-05-19 15:20:30 -0700 · Steve

Fleet-wide hygiene rule — snapshot files must never land in git so the
404-guard middleware never has anything stale to refuse. Mirrors the
.gitignore baseline used across the rest of the DW sister sites.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit f1ec46dbeeae4772169b5546f6f9bc7ae71d2f9f
Author: Steve <steve@designerwallcoverings.com>
Date:   Tue May 19 15:20:30 2026 -0700

    broaden .gitignore to exclude .bak/.pre-* snapshot files and .next/
    
    Fleet-wide hygiene rule — snapshot files must never land in git so the
    404-guard middleware never has anything stale to refuse. Mirrors the
    .gitignore baseline used across the rest of the DW sister sites.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 .gitignore | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitignore b/.gitignore
index 08240ae..8112c49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,9 @@ tmp/
 .DS_Store
 dist/
 build/
+.next/
+# never commit local-snapshot files (fleet-wide hygiene rule)
+*.bak
+*.bak.*
+*.pre-*
+*.pre.*

← 92e3f85 add noopener noreferrer to external _blank links + .bak/.pre  ·  back to Sister Parish Onboarding  ·  auto-save: 2026-06-21T18:53:00 (1 files) — scripts/_deep-pro 16193e6 →