Skip to content

Commit 4a0300c

Browse files
committed
fix(gitignore): Update environment file patterns to include local files and exclude example files
Signed-off-by: Eden Reich <eden.reich@gmail.com>
1 parent bc98423 commit 4a0300c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/templates/common/config/gitignore.tmpl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ ehthumbs.db
3939
Thumbs.db
4040

4141
# Environment files
42-
.env
43-
.env.local
44-
.env.*.local
42+
.env*
43+
!.env.*.example
4544

4645
# Log files
4746
*.log

0 commit comments

Comments
 (0)