Skip to content

Instantly share code, notes, and snippets.

@jakeleboeuf
Last active November 11, 2015 17:25
Show Gist options
  • Save jakeleboeuf/e33906a0d4b13ac4e12d to your computer and use it in GitHub Desktop.
Save jakeleboeuf/e33906a0d4b13ac4e12d to your computer and use it in GitHub Desktop.
WP Engine gitignore
# Forked from http://bigwilliam.com/gitignore-for-wordpress-projects/
# Ignore OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
*[Tt]humbs.db
*.Trashes
# Ignore everything in the root except the "wp-content" directory
/*
!.gitignore
!wp-content/
# Ignore everything in the "wp-content" directory, except the "plugins" and
# "themes" directories.
wp-content/*
!wp-content/plugins/
!wp-content/themes/
wp-content/mu-plugins
# wpengine specific
# Make tripple sure we're ignoring WPE Plugins
.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/mysql.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment