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:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user