fix: expand .gitignore to cover all .env.* variants

Replaced narrow .env.local / .env.*.local rules with .env.* to prevent
accidental commit of .env.production, .env.development, .env.staging, etc.
Explicitly allowlisted .env.example so it remains tracked.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
olekhondera
2026-02-22 23:47:06 +02:00
parent 99773cdbda
commit fd283fd9f2

4
.gitignore vendored
View File

@@ -19,8 +19,8 @@ logs/
# Environment files # Environment files
.env .env
.env.local .env.*
.env.*.local !.env.example
# Node / JavaScript # Node / JavaScript
node_modules/ node_modules/