Skip to content

Instantly share code, notes, and snippets.

@dainelmawer
Last active August 31, 2017 05:55
Show Gist options
  • Save dainelmawer/282c303d8b7d7c7dcb0fcd20636e8ad7 to your computer and use it in GitHub Desktop.
Save dainelmawer/282c303d8b7d7c7dcb0fcd20636e8ad7 to your computer and use it in GitHub Desktop.
# IGNORE ALLES
*
# WP EXCEPTIONS NOT TO IGNORE
!wp-content
!wp-content/themes
!wp-content/mu-plugins
!wp-content/themes/wpsa
!wp-content/themes/wpsa/**
.DS_Store
# DONT IGNORE THESE DOT FILES
!.gitignore
!.editorconfig
# DONT IGNORE COMPOSER FILES
!composer.json
!composer.lock
!CHANGELOG.md
!README.md
# IGNORE IRRITATIONS
*.bak
*.bkp
*.bz2
*.class
*.com
*.dll
*.DS_Store
*.exe
*.gz
*.ics
*.log
*.map
*.o
*.old
*.sass-cache
*.so
*.sql
*.swo
*.tmp
# UPLOADS
uploads/
# PHPSTORM
.idea
# CONFIGS
nginx.conf
*.htaccess
# CACHE
cache/
.sass-cache/
# NPM / COMPOSER / BOWER
node_modules/
bower_components/
vendor/
# PLUGINS
plugins/wordpress-importer/
plugins/w3-total-cache/
# W3 TOTAL CACHE FILES
w3tc-config/
db.php
advanced-cache.php
object-cache.php
upgrade/
# SEO
sitemap.xml
# IGNORE ALL PLUGINS (AS THEY ARE INSTALLED VIA COMPOSER)
wp-content/plugins/*
# THEME SPECIFIC COMPILED CSS & JS
wp-content/themes/wpsa/assets/css/wpsa.css
wp-content/themes/wpsa/assets/css/wpsa.min.css
wp-content/themes/wpsa/assets/js/wpsa.js
wp-content/themes/wpsa/assets/js/wpsa.min.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment