Преглед на файлове

Add .env.* to optionally ignored files in Rails.gitignore. (#3065)

hshimoyama преди 5 години
родител
ревизия
1604c21c60
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      Rails.gitignore

+ 3 - 2
Rails.gitignore

@@ -24,9 +24,10 @@ config/master.key
 # Only include if you have production secrets in this file, which is no longer a Rails default
 # config/secrets.yml
 
-# dotenv
-# TODO Comment out this rule if environment variables can be committed
+# dotenv, dotenv-rails
+# TODO Comment out these rules if environment variables can be committed
 .env
+.env.*
 
 ## Environment normalization:
 /.bundle