Skip to content

Instantly share code, notes, and snippets.

@nicomollet
Last active August 29, 2015 14:08
Show Gist options
  • Save nicomollet/e284d83c7829e9ababf9 to your computer and use it in GitHub Desktop.
Save nicomollet/e284d83c7829e9ababf9 to your computer and use it in GitHub Desktop.
WordPress gitignore
# ignore Wordpress files
/.htaccess
wp-content/uploads
sitemap.xml
sitemap.xml.gz
wp-config-locale.php
*.sql
php-errors.log
# ignore specific themes
wp-content/themes/twentyten/
wp-content/themes/twentyeleven/
wp-content/themes/twentytwelve/
wp-content/themes/twentythirteen/
wp-content/themes/twentyfourteen/
# ignore Ruby files
.rvmrc
.ruby-version
.ruby-gemset
.rbenv-version
# ignore mess files
~*
.~lock.*
.tmp*
**.orig
# ignore OS generated files
ehthumbs.db
Thumbs.db
# ignore Sublime files
*.sublime-project
*.sublime-workspace
# ignore Komodo files
*.komodoproject
# ignore Textmate files
*.tmproj
*.tmproject
tmtags
# ignore Eclipse files
.buildpath
.loadpath
.project
.settings/*
.externalToolBuilders/*
# ignore IntelliJ IDEA / RubyMine files
*.iml
*.ipr
*.iws
.idea/
# ignore log files and databases
*.log
*.sql
*.sqlite
# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# ignore mac files
.DS_Store
._*
.Spotlight-V100
.Trashes
# ignore node/grunt dependency directories
node_modules/
.sass-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment