Last active
August 29, 2015 14:23
-
-
Save misterhon/8ec181488706dcff39a9 to your computer and use it in GitHub Desktop.
.gitignore for WordPress projects
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
*.log | |
.htaccess | |
sitemap.xml | |
sitemap.xml.gz | |
wp-config.php | |
wp-includes/* | |
wp-admin/* | |
wp-content/advanced-cache.php | |
wp-content/backup-db/ | |
wp-content/backups/ | |
wp-content/blogs.dir/ | |
wp-content/cache/ | |
wp-content/upgrade/ | |
wp-content/uploads/ | |
wp-content/plugins/ | |
wp-content/themes/* | |
# Ignore all themes except yours | |
!wp-content/themes/your-theme | |
wp-content/wp-cache-config.php | |
wp-cli.yml | |
# OS generated files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment