| 1 | # See https://help.github.com/articles/ignoring-files for more about ignoring files. |
| 2 | |
| 3 | # Ignore bundler config. |
| 4 | /.bundle |
| 5 | |
| 6 | # Ignore all environment files. |
| 7 | /.env* |
| 8 | !/.env.example |
| 9 | |
| 10 | # Ignore all default key files. |
| 11 | /config/master.key |
| 12 | /config/credentials/*.key |
| 13 | |
| 14 | # Ignore all logfiles and tempfiles. |
| 15 | /log/* |
| 16 | /tmp/* |
| 17 | !/log/.keep |
| 18 | !/tmp/.keep |
| 19 | |
| 20 | # Ignore pidfiles, but keep the directory. |
| 21 | /tmp/pids/* |
| 22 | !/tmp/pids/.keep |
| 23 | |
| 24 | # Ignore storage (uploaded files in development and any SQLite databases). |
| 25 | /storage/* |
| 26 | !/storage/.keep |
| 27 | /tmp/storage/* |
| 28 | !/tmp/storage/.keep |
| 29 | |
| 30 | # Ignore precompiled assets (rebuild with `rails assets:precompile`). |
| 31 | /public/assets |
| 32 | |
| 33 | # Ignore Tailwind CSS build output (rebuild with `rails tailwindcss:build`). |
| 34 | /app/assets/builds/* |
| 35 | !/app/assets/builds/.keep |
| 36 | |
| 37 | # Ignore node_modules. |
| 38 | /node_modules/ |
| 39 | |
| 40 | # Ignore local git repos for development environment |
| 41 | .local-repos/* |
| 42 | !.local-repos/.keep |
| 43 | |
| 44 | # Ignore the bare git repositories the app hosts on disk (runtime data: |
| 45 | # user repos, seeded models, and their LFS-backed weights). Keep the folder. |
| 46 | /repos/* |
| 47 | !/repos/.keep |