chore: Simplify .gitignore to exclude all .env files except .example.env
- Use .env* pattern to catch all environment files - Explicitly allow .example.env with negation pattern - Removes need to list individual .env variants 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -24,11 +24,9 @@ npm-debug.log*
|
|||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
# local env files
|
# local env files (exclude all except .example.env)
|
||||||
.env
|
.env*
|
||||||
.env*.local
|
!.example.env
|
||||||
.env.test
|
|
||||||
.prod.env
|
|
||||||
|
|
||||||
# vercel
|
# vercel
|
||||||
.vercel
|
.vercel
|
||||||
|
|||||||
Reference in New Issue
Block a user