Skip to content

Instantly share code, notes, and snippets.

@larodiel
Last active October 18, 2017 18:52
Show Gist options
  • Save larodiel/a34e685869284ce31b1e4a1017f70846 to your computer and use it in GitHub Desktop.
Save larodiel/a34e685869284ce31b1e4a1017f70846 to your computer and use it in GitHub Desktop.
# -----------------------------------------------------------------
# ver 1.1.0
#
# Change Log:
# 20160721 - First version
# 20171018 - error_log added
# -----------------------------------------------------------------
# ignore all files starting with . or ~
.*
~*
# backup
*.bkp
*_bkp
*.bak
# ignore OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini
# Map files
*.css.map
# ignore node/bower dependency directories
dist/
bower_components/
node_modules/
.sass-cache/
# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
*.idea
dwsync.xml
_notes/
# ignore log files and databases
*.log
*.sql
*.sqlite
error_log
**/*.log*
# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Wordpress
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/hello.php
/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz
# -------------------------
# BEGIN Whitelisted Files
# -------------------------
# track these files, if they exist
!.gitignore
!.editorconfig
!README.md
!CHANGELOG.md
!composer.json
!package.json
!gulp.js
!grunt.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment