Skip to content

Instantly share code, notes, and snippets.

@johndwells
Created October 30, 2011 08:19
Show Gist options
  • Save johndwells/1325702 to your computer and use it in GitHub Desktop.
Save johndwells/1325702 to your computer and use it in GitHub Desktop.
Standard .gitignore for Wordpress
# OS Files
######################
.DS_Store
# Files that change depending on server
######################
.htaccess
.htpasswd
wp-config.php
# Ignore all WP stuff but our theme & plugins
######################
index.php
readme.html
xmlrpc.php
license.txt
/wp-content/*
/wp-*
!/wp-content/themes/ourthemefolder/
!/wp-content/plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment