Skip to content

Commit

Permalink
Simplify .env.local gitignores (#34471)
Browse files Browse the repository at this point in the history
* ignore all .env files in default template

* ignore all .env files in typescript template

* ignore all local .env files in default template

Co-authored-by: Balázs Orbán <info@balazsorban.com>

* ignore all local .env files in typescript template

Co-authored-by: Balázs Orbán <info@balazsorban.com>
  • Loading branch information
ephraimduncan and balazsorban44 committed Feb 18, 2022
1 parent 71aa019 commit 2c80444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions packages/create-next-app/templates/default/gitignore
Expand Up @@ -26,10 +26,7 @@ yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
.env*.local

# vercel
.vercel
5 changes: 1 addition & 4 deletions packages/create-next-app/templates/typescript/gitignore
Expand Up @@ -26,10 +26,7 @@ yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
.env*.local

# vercel
.vercel
Expand Down

0 comments on commit 2c80444

Please sign in to comment.