From cbb8a8249a6577ef7d1de577276f130b73b11743 Mon Sep 17 00:00:00 2001 From: Albert Date: Sun, 9 Nov 2025 15:11:15 +0000 Subject: [PATCH] fix: Correct .gitignore to match both .env prefix and .env suffix patterns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .env - matches the base .env file - .env.* - matches .env.local, .env.production, etc. - *.env - matches .prod.env, .test.env, etc. (suffix pattern) - !.example.env - explicitly allow .example.env 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e3a4d20..4c6167d 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,9 @@ yarn-debug.log* yarn-error.log* # local env files (exclude all except .example.env) -.env* +.env +.env.* +*.env !.example.env # vercel