From 84abd75104b4041035c615bec8f4818d2032a239 Mon Sep 17 00:00:00 2001 From: TCFDONMEZ Date: Thu, 8 Oct 2026 14:27:41 +0300 Subject: [PATCH] Ignore every .env variant but the template A file named .env.vercel or .env.production would have been committed by the old two-line list, which is exactly the file someone reaches for when they need somewhere to paste real credentials. Co-Authored-By: Claude Opus 5 (1M context) --- web/.gitignore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/.gitignore b/web/.gitignore index 8869056..27dfd45 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -1,6 +1,7 @@ node_modules .next -.env -.env.local +# Every .env variant is secret except the committed template. +.env* +!.env.example next-env.d.ts *.tsbuildinfo