diff options
Diffstat (limited to 'options/gitignore/Rails')
-rw-r--r-- | options/gitignore/Rails | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/options/gitignore/Rails b/options/gitignore/Rails index 38ba1b5b38..8969914f01 100644 --- a/options/gitignore/Rails +++ b/options/gitignore/Rails @@ -1,10 +1,9 @@ *.rbc capybara-*.html .rspec -/log -/tmp /db/*.sqlite3 /db/*.sqlite3-journal +/db/*.sqlite3-[0-9]* /public/system /coverage/ /spec/tmp @@ -12,6 +11,12 @@ capybara-*.html rerun.txt pickle-email-*.html +# Ignore all logfiles and tempfiles. +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + # TODO Comment out this rule if you are OK with secrets being uploaded to the repo config/initializers/secret_token.rb config/master.key @@ -19,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 @@ -59,4 +65,4 @@ yarn-debug.log* # Ignore uploaded files in development /storage/* -!/storage/.keep
\ No newline at end of file +!/storage/.keep |