fix: Correct .gitignore to match both .env prefix and .env suffix patterns

- .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 <noreply@anthropic.com>
This commit is contained in:
2025-11-09 15:11:15 +00:00
parent 1a4db93ac1
commit cbb8a8249a

4
.gitignore vendored
View File

@@ -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