Created
February 14, 2014 02:44
-
-
Save noeljackson/8994919 to your computer and use it in GitHub Desktop.
WordPress .gitignore
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
# 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/ | |
# Ignore everything in the "plugins" directory, except the plugins you | |
# specify (see the commented-out examples for hints on how to do this.) | |
# wp-content/plugins/* | |
# !wp-content/plugins/my-single-file-plugin.php | |
# !wp-content/plugins/my-directory-plugin/ | |
wp-content/plugins/akismet | |
wp-content/plugins/hello.php | |
# Ignore everything in the "themes" directory, except the themes you | |
# specify (see the commented-out example for a hint on how to do this.) | |
wp-content/themes/twenty* | |
wp-content/themes/index.php | |
# !wp-content/themes/my-theme/ | |
.DS_Store | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
# 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/mysql.sql | |
# 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