We used a slash as a prefix in some cases but not in other cases. Now we're defining files and folders following the gitignore rules: files starting with a slash are only ignored in the root folder, while files not starting with it are ignored everywhere. IMHO it makes sense to ignore all folders named `tmp`, `.bundle`, `log`, `.DS_Store` or `.ruby-gemset` everywhere in the source code and not only in the root folder. We're also adding a trailing slash to all folders for consistency.
36 lines
705 B
Plaintext
36 lines
705 B
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 all logfiles and tempfiles.
|
|
log/*
|
|
!log/.keep
|
|
tmp/
|
|
|
|
/spec/examples.txt
|
|
/config/database.yml
|
|
/config/secrets.yml
|
|
/config/deploy-secrets.yml
|
|
/config/maintenance.yml
|
|
|
|
/coverage/
|
|
|
|
.byebug_history
|
|
|
|
# Mac finder artifacts
|
|
.DS_Store
|
|
|
|
.ruby-gemset
|
|
|
|
/public/sitemap.xml
|
|
/public/assets/
|
|
/public/machine_learning/data/
|
|
/public/system/
|
|
/public/ckeditor_assets/
|
|
/storage/
|