Skip to content

Commit 1604c21

Browse files
hshimoyamashiftkey
authored andcommitted
Add .env.* to optionally ignored files in Rails.gitignore. (#3065)
1 parent e2e54ce commit 1604c21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Rails.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ config/master.key
2424
# Only include if you have production secrets in this file, which is no longer a Rails default
2525
# config/secrets.yml
2626

27-
# dotenv
28-
# TODO Comment out this rule if environment variables can be committed
27+
# dotenv, dotenv-rails
28+
# TODO Comment out these rules if environment variables can be committed
2929
.env
30+
.env.*
3031

3132
## Environment normalization:
3233
/.bundle

0 commit comments

Comments
 (0)