my blog
1# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2#
3# If you find yourself ignoring temporary files generated by your text editor
4# or operating system, you probably want to add a global ignore instead:
5# git config --global core.excludesfile '~/.gitignore_global'
6
7# Ignore bundler config.
8/.bundle
9
10# Ignore all environment files (except templates).
11/.env*
12!/.env*.erb
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/
23!/tmp/pids/.keep
24
25# Ignore storage (uploaded files in development and any SQLite databases).
26/storage/*
27!/storage/.keep
28/tmp/storage/*
29!/tmp/storage/
30!/tmp/storage/.keep
31
32/public/assets
33
34# Ignore master key for decrypting credentials and more.
35/config/master.key
36
37/db/*
38
39nohup.out