Skip to content

Instantly share code, notes, and snippets.

@mikemcguire
Last active February 21, 2017 20:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikemcguire/f8ed92c3c029df582e5104a9acb8315a to your computer and use it in GitHub Desktop.
Save mikemcguire/f8ed92c3c029df582e5104a9acb8315a to your computer and use it in GitHub Desktop.
Wordpress .gitignore for MVC framework
# WordPress #
############
patternlab-php-master/
wp-config-local.php
wp-content/uploads
wp-content/plugins/debug-log.php
wp-content/blogs.dir/
wp-config.php
wp-content/upgrade/
wp-content/backup-db/
wp-content/object-cache.php
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
wp-content/cache
wp-content/ewww
sitemap.xml
sitemap.xml.gz
*.log
# IDE #
#######
.idea/
# Build Artifacts #
###################
build/
# Interconnectit Search & Replace
# https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
replace/*
# wpengine specific
.smushit-status
.gitattributes
_wpeprivate
configseparator.php.
# @TODO writable paths
wp-content/cache/
wp-content/backups/
# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
# Logs and databases #
######################
*.log
*.sql
# OS generated files #
######################
.DS_Store*
ehthumbs.db
# Icon?
Thumbs.db
._*
# Vim generated files #
######################
*.un~
# IDE generated files #
######################
*.idea/*
.floo
.flooignore
# SASS, NPM, GULP #
##########
.sass-cache
node_modules
.css.map
# large/disallowed file types
# a CDN should be used for these
*.hqx
*.bin
*.exe
*.dll
*.deb
*.dmg
*.iso
*.img
*.msi
*.msp
*.msm
*.mid
*.midi
*.kar
*.mp3
*.ogg
*.m4a
*.ra
*.3gpp
*.3gp
*.mp4
*.mpeg
*.mpg
*.mov
*.webm
*.flv
*.m4v
*.mng
*.asx
*.asf
*.wmv
*.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment