chore: update .gitignore to explicitly commit env files

- .env, .env.local, and .env*.local will now be explicitly committed if needed.
- Removed the wildcard .env* from being ignored, allowing specific env files to be tracked.
This commit is contained in:
cfngc4594 2025-02-20 08:40:49 +08:00
parent a1c4f2160b
commit 8cd8a2977c

4
.gitignore vendored
View File

@ -31,7 +31,9 @@ yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
.env
.env.local
.env*.local
# vercel
.vercel