Skip to content

Instantly share code, notes, and snippets.

@andrewwoods
Last active February 1, 2016 03:47
Show Gist options
  • Save andrewwoods/672450b001bcaf888e4d to your computer and use it in GitHub Desktop.
Save andrewwoods/672450b001bcaf888e4d to your computer and use it in GitHub Desktop.
WordPress Site Gitignore Boilerplate
# Common wordpress files to ignore
wp-config.php
wp-content/debug.log
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
# Common wp-content directories
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/cache/
wp-content/upgrade/
wp-content/uploads/
# ignore VIM editor files
.*.swp
# ignore packaged files
*.gz
*.iso
*.jar
*.rar
*.tar
*.tar.gz
*.tgz
*.zip
# ignore generic files
temp.txt
*.bak
# ignore log files
*.log
# ignore OS X specific files
*.dmg
.DS_Store
# Ignore sass-cache files.
*.sass-cache*
# Ignore Sass source map files.
*.css.map
#
# Standard Gitignore File
#
# ignore VIM editor files
.*.swp
# ignore packaged files
*.gz
*.iso
*.jar
*.rar
*.tar
*.tar.gz
*.tgz
*.zip
# ignore generic files
*.bak
temp.txt
# ignore log files
*.log
# ignore OS X specific files
*.dmg
.DS_Store
# Ignore sass-cache files.
*.sass-cache*
# Ignore Sass source map files.
*.css.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment