Skip to content

Instantly share code, notes, and snippets.

@josimard
Created October 29, 2015 16:12
Show Gist options
  • Save josimard/986150970c579c345402 to your computer and use it in GitHub Desktop.
Save josimard/986150970c579c345402 to your computer and use it in GitHub Desktop.
WordPress .gitignore template
# Wordpress files in the root except the "wp-content" directory.
/wp-*
# What not ignored
!wp-content/
!wp-content/themes/
# Ignore plugins?
wp-content/plugins/
#Known Wordpress files
/index.php
/license.txt
/readme.html
/xmlrpc.php
wp-content/index.php
wp-content/themes/index.php
wp-content/themes/twenty*/
wp-content/plugins/akismet
wp-content/plugins/hello.php
wp-content/plugins/index.php
# Tools ignores
.sass-cache/*
node_modules/*
# OS generated files
ehthumbs.db
Thumbs.db
.DS_*
# Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
# Packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment