Skip to content

Instantly share code, notes, and snippets.

@Soben
Last active February 16, 2016 15:46
Show Gist options
  • Save Soben/11408299 to your computer and use it in GitHub Desktop.
Save Soben/11408299 to your computer and use it in GitHub Desktop.
Ignore list for Git repos involving Wordpress. Ignores the entire Wordpress Core and any non-custom plugins (must add non-custom plugins to the list as part of ongoing development)Ignores the Uploads folder as well.
.DS_Store
.sass-cache
node_modules
wp-content/plugins/*
!wp-content/plugins/index.php
wp-content/themes/*
!wp-content/themes/index.php
wp-content/uploads/*
cache
temp
/index.php
/license.txt
/readme.html
/wp-activate.php
/wp-admin
/wp-atom.php
/wp-blog-header.php
/wp-comments-post.php
/wp-commentsrss2.php
/wp-config.php
/wp-cron.php
/wp-feed.php
/wp-includes
/wp-links-opml.php
/wp-load.php
/wp-login.php
/wp-mail.php
/wp-pass.php
/wp-rdf.php
/wp-register.php
/wp-rss.php
/wp-rss2.php
/wp-settings.php
/wp-signup.php
/wp-trackback.php
/xmlrpc.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment