git ignore file for wordpress development

Want to use git to manage your wordpress installation and track changes of your development or wordpress upgrade?

*.log
wp-config.php
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/wp-cache-config.php
wp-content/plugins/hello.php

/.htaccess
/license.txt
/readme.html
/sitemap.xml
/sitemap.xml.gz

ref: https://github.com/github/gitignore/blob/master/WordPress.gitignore

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × three =