111 lines
2.2 KiB
Plaintext
111 lines
2.2 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile '~/.gitignore_global'
|
|
|
|
# Ignore bundler config.
|
|
/.bundle
|
|
|
|
# Ignore the default SQLite database.
|
|
/db/*.sqlite3
|
|
/db/*.sqlite3-*
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
/tmp/*
|
|
!/log/.keep
|
|
!/tmp/.keep
|
|
|
|
# Ignore pidfiles, but keep the directory.
|
|
/tmp/pids/*
|
|
!/tmp/pids/
|
|
!/tmp/pids/.keep
|
|
|
|
# Ignore uploaded files in development.
|
|
/storage/*
|
|
!/storage/.keep
|
|
.byebug_history
|
|
|
|
# Ignore master key for decrypting credentials and more.
|
|
/config/master.key
|
|
|
|
## custom
|
|
*.sqlite3
|
|
.volumes
|
|
|
|
# rails bundle install location
|
|
/.vendor
|
|
/vendor
|
|
|
|
# Created by https://www.toptal.com/developers/gitignore/api/rails
|
|
### Rails ###
|
|
*.rbc
|
|
capybara-*.html
|
|
.rspec
|
|
/db/*.sqlite3
|
|
/db/*.sqlite3-journal
|
|
/db/*.sqlite3-[0-9]*
|
|
/public/system
|
|
/coverage/
|
|
/spec/tmp
|
|
*.orig
|
|
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
|
|
|
|
# Only include if you have production secrets in this file, which is no longer a Rails default
|
|
# config/secrets.yml
|
|
|
|
# dotenv, dotenv-rails
|
|
# TODO Comment out these rules if environment variables can be committed
|
|
.env
|
|
.env.*
|
|
|
|
## Environment normalization:
|
|
/.bundle
|
|
/vendor/bundle
|
|
|
|
# these should all be checked in to normalize the environment:
|
|
# Gemfile.lock, .ruby-version, .ruby-gemset
|
|
|
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
.rvmrc
|
|
|
|
# if using bower-rails ignore default bower_components path bower.json files
|
|
/vendor/assets/bower_components
|
|
*.bowerrc
|
|
bower.json
|
|
|
|
# Ignore pow environment settings
|
|
.powenv
|
|
|
|
# Ignore Byebug command history file.
|
|
.byebug_history
|
|
|
|
# Ignore node_modules
|
|
node_modules/
|
|
|
|
# Ignore precompiled javascript packs
|
|
/public/packs
|
|
/public/packs-test
|
|
/public/assets
|
|
|
|
# Ignore yarn files
|
|
/yarn-error.log
|
|
yarn-debug.log*
|
|
.yarn-integrity
|
|
|
|
# Ignore uploaded files in development
|
|
/storage/*
|
|
!/storage/.keep
|