Skip to content

Instantly share code, notes, and snippets.

@hlashbrooke
Created July 12, 2013 11:02
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 hlashbrooke/5983613 to your computer and use it in GitHub Desktop.
Save hlashbrooke/5983613 to your computer and use it in GitHub Desktop.
A .gitignore file for multiple site in one repo
.htaccess
wp-admin/
wp-includes/
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/index.php
*/wp-content/themes/index.php
*/wp-content/plugins/index.php
*/index.php
*.log
wp-content/cache/
wp-content/backups/
sitemap.xml
sitemap.xml.gz
wp-activate.php
wp-app.php
wp-blog-header.php
wp-comments-post.php
wp-config-sample.php
wp-config.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-pass.php
wp-register.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php
license.txt
readme.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment