Files
2bcd95063a cna: update .gitignore to ignore all .env files (#73415)
## Description
Catch-up #61920 and #72260.
According to [Default Environment
Variables](https://nextjs.org/docs/app/building-your-application/configuring/environment-variables#default-environment-variables)
docs, all `.env` files are excluded in `.gitignore` by default,
However, empty templates aren't applied.

Similar PR: #71890

Co-authored-by: Sam Ko <[email protected]>
2024-12-03 00:50:56 +00:00

42 lines
480 B
Plaintext

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts