Created
February 19, 2015 10:25
-
-
Save mustardBees/65ad0ee15e7629e6aa84 to your computer and use it in GitHub Desktop.
Sample WordPress gitignore file
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
# OS or IDE folders/files to ignore | |
*~ | |
._* | |
*.lock | |
*.DS_Store | |
*.swp | |
*.out | |
.cache | |
.project | |
.settings | |
nbproject | |
thumb.db | |
Thumbs.db | |
# Ignore everything in the root except the "wp-content" directory. | |
/* | |
!favicon.ico | |
!.gitignore | |
!wp-content/ | |
# Ignore everything in the "wp-content" directory, except "mu-plugins", "plugins" and "themes" | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
!wp-content/themes/ | |
# Ignore everything in the "mu-plugins" directory, except the plugins you specify | |
wp-content/mu-plugins/* | |
!wp-content/mu-plugins/background-updates.php | |
!wp-content/mu-plugins/change-auto-update-email-address.php | |
# Ignore everything in the "plugins" directory, except the plugins you specify | |
wp-content/plugins/* | |
!wp-content/plugins/iweb-core-functionality/ | |
# Ignore everything in the "themes" directory, except the themes you specify | |
wp-content/themes/* | |
!wp-content/themes/iweb/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment