Created
April 21, 2017 19:45
-
-
Save jb510/d3d24137d8de7abfcfcc98da11980932 to your computer and use it in GitHub Desktop.
9seeds Sample .gitignore for WP Engine (and others)
This file contains hidden or 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
*~ | |
.DS_Store | |
.htaccess | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
# wp core (as of 3.4.1) | |
/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/twentyeighteen | |
/wp-content/themes/index.php | |
/wp-content/plugins/index.php | |
/wp-content/plugins/hello.php | |
# 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 | |
### | |
# wpengine specific | |
### | |
.smushit-status | |
.gitattributes | |
_wpeprivate | |
/wp-content/object-cache.php | |
/wp-content/mu-plugins/mu-plugin.php | |
/wp-content/mu-plugins/slt-force-strong-passwords.php | |
/wp-content/mu-plugins/limit-login-attempts | |
/wp-content/mu-plugins/wpengine-common | |
/wp-content/mu-plugins/force-strong-passwords/ | |
/wp-content/mu-plugins/wpe_bnseosnvlsoier_private_ips.php | |
/wp-content/*.sql | |
### | |
# WordPress Specific for for WPE, requried for git push to WPE, good to ignore for most setups | |
###### | |
# wordpress specific | |
/wp-config.php | |
/wp-content/uploads/ | |
/wp-content/blogs.dir/ | |
/wp-content/upgrade/* | |
/wp-content/backup-db/* | |
/wp-content/advanced-cache.php | |
/wp-content/wp-cache-config.php | |
/wp-content/cache/* | |
### | |
# 9seeds Additions for Pagely | |
### | |
/wp-content/mu-plugins/pagely_management.php | |
### | |
# 9seeds Additions Local configs | |
###### | |
.DS_Store | |
.idea | |
debug.log | |
/sqldumps | |
/Search-Replace-* | |
/wp-config.php | |
/wp-config-* | |
/local-config.php | |
/*.sublime-project | |
/*.sublime-workspace | |
/*.sublime-gulp.cache | |
/local-adminer | |
/vvv-* | |
/wp-cli.yml | |
### | |
# 9seeds Additions for Package Managers | |
########## | |
# Composer # | |
library/vendors/composer/ | |
!assets/js/vendor/ | |
wpcs/ | |
composer.lock | |
# Bower # | |
assets/bower_components/* | |
# NPM # | |
node_modules | |
# Codekit # | |
/codekit-config.json | |
*.codekit | |
**.codekit-cache/* | |
### | |
# 9seeds ignore all but managed mu-plugins | |
###### | |
/wp-content/mu-plugins/* | |
!/wp-content/mu-plugins/9s-* | |
!/wp-content/mu-plugins/toolbox | |
!/wp-content/mu-plugins/wplt-loader.php | |
!/wp-content/mu-plugins/wp-performance-profiler | |
!/wp-content/mu-plugins/load-wp-performance-profiler.php | |
### | |
# 9seeds ignore all but managed plugins | |
###### | |
/wp-content/plugins/* | |
!/wp-content/plugins/9s-* | |
!/wp-content/plugins/*-forked | |
### | |
# 9seeds ignore all but managed theme | |
###### | |
/wp-content/themes/* | |
!/wp-content/themes/9s-* | |
!/wp-content/themes/genesis | |
### | |
# 9seeds ignores for this site | |
###### | |
/assets | |
db.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment