practice doing this
at main 731 B view raw
1# See https://help.github.com/articles/ignoring-files for more about ignoring files. 2# 3# Temporary files generated by your text editor or operating system 4# belong in git's global ignore instead: 5# `$XDG_CONFIG_HOME/git/ignore` or `~/.config/git/ignore` 6 7# Ignore bundler config. 8/.bundle 9 10# Ignore all environment files. 11/.env* 12 13# Ignore all logfiles and tempfiles. 14/log/* 15/tmp/* 16!/log/.keep 17!/tmp/.keep 18 19# Ignore pidfiles, but keep the directory. 20/tmp/pids/* 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/ 29!/tmp/storage/.keep 30 31/public/assets 32 33# Ignore key files for decrypting credentials and more. 34/config/*.key 35