Skip to content

Commit c4d2f77

Browse files
authored
Merge pull request #4234 from cyber-amr/main
Ignore all `.env` files in `Node.gitignore` and unignore `.env.example`
2 parents 141ed23 + 4790fe0 commit c4d2f77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Node.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ web_modules/
6868

6969
# dotenv environment variable files
7070
.env
71-
.env.development.local
72-
.env.test.local
73-
.env.production.local
74-
.env.local
71+
.env.*
72+
!.env.example
7573

7674
# parcel-bundler cache (https://parceljs.org/)
7775
.cache

0 commit comments

Comments
 (0)