← back to B Version 1
gitignore: exclude .bak/.pre-/swap snapshot files
6c73f878b36dedf792ba597e936c7fecb09b9b1f · 2026-05-19 17:28:25 -0700 · Steve Abrams
Codifies the fleet-wide standing rule from the refactor sweep — editor
snapshot files (*.bak, *.bak.*, *.pre-*, *~, .*.swp) must never land in
git. No such files exist in this tree today; this is the preventive
gate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 6c73f878b36dedf792ba597e936c7fecb09b9b1f
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue May 19 17:28:25 2026 -0700
gitignore: exclude .bak/.pre-/swap snapshot files
Codifies the fleet-wide standing rule from the refactor sweep — editor
snapshot files (*.bak, *.bak.*, *.pre-*, *~, .*.swp) must never land in
git. No such files exist in this tree today; this is the preventive
gate.
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 1d7a585..1662314 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,9 @@ coverage/
*.log
tmp/
+# Editor / snapshot files — never commit
+*.bak
+*.bak.*
+*.pre-*
+*~
+.*.swp
← bf6c7f8 initial snapshot — gitify all builds (CLAUDE.md rule 2026-05
·
back to B Version 1
·
server: 404-guard editor/snapshot paths before express.stati 981b77e →