Skip to content

Instantly share code, notes, and snippets.

@roybarber
Created January 27, 2013 16:52
Show Gist options
  • Save roybarber/4649211 to your computer and use it in GitHub Desktop.
Save roybarber/4649211 to your computer and use it in GitHub Desktop.
wordpress .gitignore
# Don't add the Local settings file to the repository #
htdocs/wp-config-local.php
# If using SASS to compile stylesheets this saves conflicts, plus there not needed! #
htdocs/wp-content/themes/YOURTHEME/.sass-cache/*
# No need to add the upgrade folder to the repo #
htdocs/wp-content/upgrade/*
# sitemaps not needed locally #
htdocs/sitemap.xml
htdocs/sitemap.xml.gz
# no need for these #
readme.html
license.txt
.log
.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment