Skip to content

Instantly share code, notes, and snippets.

@rtvenge
Last active January 29, 2018 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtvenge/291842ef090c69e26f4a to your computer and use it in GitHub Desktop.
Save rtvenge/291842ef090c69e26f4a to your computer and use it in GitHub Desktop.
.gitignore (Wordpress)
*~
.DS_Store
.svn
.cvs
*.bak
*.swp
Thumbs.db
# wordpress specific
wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/*
wp-content/backup-db/*
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
wp-content/cache/*
wp-content/cache/supercache/*
wp-content/debug.log
tmp-*.*
# If you want to ignore wp core (as of 3.4.1)
/db-config.php
/index.php
/license.txt
/readme.html
/wp-activate.php
/wp-app.php
/wp-atom.php
/wp-blog-header.php
/wp-comments-post.php
/wp-commentsrss2.php
/wp-config-sample.php
/wp-cron.php
/wp-feed.php
/wp-links-opml.php
/wp-load.php
/wp-login.php
/wp-mail.php
/wp-rdf.php
/wp-rss.php
/wp-rss2.php
/wp-pass.php
/wp-register.php
/wp-settings.php
/wp-signup.php
/wp-trackback.php
/xmlrpc.php
/wp-admin
/wp-includes
/wp-content/index.php
/wp-content/themes/twenty*
/wp-content/themes/index.php
/wp-content/plugins/index.php
# Theme/Developer Specific
**/node_modules
**/.sass-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment