1
0
mirror of https://github.com/github/gitignore synced 2024-11-22 03:34:23 +01:00

Don't ignore tmp and log directory (#2999)

https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
Rails `5.2.2.1` requires `tmp` directory committed to git repository for CI to run successfully.
This commit is contained in:
OKURA Masafumi 2019-03-14 21:55:38 +09:00 committed by Brendan Forster
parent bbd09f3585
commit 1a417fe294

View File

@ -1,8 +1,6 @@
*.rbc *.rbc
capybara-*.html capybara-*.html
.rspec .rspec
/log
/tmp
/db/*.sqlite3 /db/*.sqlite3
/db/*.sqlite3-journal /db/*.sqlite3-journal
/public/system /public/system
@ -12,6 +10,12 @@ capybara-*.html
rerun.txt rerun.txt
pickle-email-*.html 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 # TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb config/initializers/secret_token.rb
config/master.key config/master.key
@ -59,4 +63,4 @@ yarn-debug.log*
# Ignore uploaded files in development # Ignore uploaded files in development
/storage/* /storage/*
!/storage/.keep !/storage/.keep