amy-d
2/16/2015 - 6:08 AM

.gitignore for a Wordpress Project

.gitignore for a Wordpress Project

# As Yeoman assumes the usage of Bower and Grunt, ignore the below:
bower_components
node_modules

# Ignore automatically generated cruft
*.log
.sass-cache

# Ignore config
local-config.php


# Operating system files
.Spotlight-V100
.Trashes
.DS_Store
.DS_Store?
ehthumbs.db
Thumbs.db

# Vagrant
.vagrant

# WordPress + popular plugin generated — adapted from:
# https://github.com/github/gitignore/blob/master/WordPress.gitignore
sitemap.xml
sitemap.xml.gz
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/index.php
wp-content/plugins/index.php
wp-content/themes/index.php
wp-content/uploads/
wp-content/upgrade/
wp-content/wp-cache-config.php