Last active
November 29, 2018 06:43
-
-
Save dmhendricks/91192a871b972a9efa0f956a1aa83022 to your computer and use it in GitHub Desktop.
A boilerplate .gitignore for WPMU Dev hosting. https://premium.wpmudev.org/multisite-hosting/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Boilerplate .gitignore for WPMU Dev Hosting. Copy this to .gitignore in your web root. | |
# Forked from: https://wpengine.com/wp-content/uploads/2013/10/recommended-gitignore-no-wp.txt | |
# Maintainer: Daniel M. Hendricks (https://daniel.hn) | |
# Version: 1.0.4 | |
*~ | |
.DS_Store | |
.env | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
# WordPress specific | |
wp-config.php | |
wp-content/debug.log | |
wp-content/uploads/ | |
wp-content/blogs.dir/ | |
wp-content/upgrade/ | |
wp-content/advanced-cache.php | |
wp-content/cache/ | |
# WPMU Dev related | |
wp-content/object-cache.php | |
wp-content/mu-plugins/wpmudev-hosting* | |
# Theme and plugin specific | |
.smushit-status | |
wp-content/backupwordpress* | |
wp-content/envato-backups/ | |
wp-content/updraft/ | |
wp-content/wphb-logs/ | |
wp-content/backup-db/ | |
wp-content/ai1wm-backups/ | |
wp-content/plugins/redis-cache/ | |
wp-content/wp-cache-config.php | |
# Development related | |
*.scssc | |
.gitattributes | |
composer.lock | |
package-lock.json | |
# Optional - For those that use Local for development | |
wp-content/mu-plugins/local-by-flywheel-demo-urls.php | |
local-adminer-* | |
local-phpinfo.php | |
# WP core (as of 4.9.8) | |
/db-config.php | |
/index.php | |
/license.txt | |
/readme.html | |
/wp-activate.php | |
/wp-app.php | |
/wp-atom.php | |
/wp-blog-header.php | |
/wp-comments-post.php | |
/wp-commentsrss2.php | |
/wp-config-sample.php | |
/wp-cron.php | |
/wp-feed.php | |
/wp-links-opml.php | |
/wp-load.php | |
/wp-login.php | |
/wp-mail.php | |
/wp-rdf.php | |
/wp-rss.php | |
/wp-rss2.php | |
/wp-pass.php | |
/wp-register.php | |
/wp-settings.php | |
/wp-signup.php | |
/wp-trackback.php | |
/xmlrpc.php | |
/wp-admin | |
/wp-includes | |
/wp-content/index.php | |
/wp-content/themes/twentyten | |
/wp-content/themes/twentyeleven | |
/wp-content/themes/twentytwelve | |
/wp-content/themes/twentythirteen | |
/wp-content/themes/twentyfourteen | |
/wp-content/themes/twentyfifteen | |
/wp-content/themes/twentysixteen | |
/wp-content/themes/twentyseventeen | |
/wp-content/themes/twentynineteen | |
/wp-content/themes/index.php | |
/wp-content/plugins/index.php | |
/wp-content/plugins/akismet* | |
# Large 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 | |
*.rar | |
*.asx | |
*.asf | |
*.wmv | |
*.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment