Skip to content

Instantly share code, notes, and snippets.

@andykillen
Created February 9, 2017 15:56
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 andykillen/98563b1140b36a2a63bfeeeef2adac01 to your computer and use it in GitHub Desktop.
Save andykillen/98563b1140b36a2a63bfeeeef2adac01 to your computer and use it in GitHub Desktop.
my standard gitignore for WP
/* ignore netbeans */
/nbproject/private/
/nbproject/
/* ignore WP core and misc for wordpress on */
wp-content/blogs.dir/
wp-content/upgrade/
wp-content/backup-db/
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
sitemap.xml
*.log
/wp-*.php
/index.php
license.txt
readme.html
wp-admin/
wp-includes/
xmlrpc.php
wp-content/cache/
wp-content/backups/
wp-config-hosting.php
db-config.php
sitemap.xml.gz
.DS_Store
/.htaccess
/* ignore node and gulp stuff */
node_modules/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment