Skip to content

Instantly share code, notes, and snippets.

@robertdall
Last active December 16, 2015 11:19
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 robertdall/5426552 to your computer and use it in GitHub Desktop.
Save robertdall/5426552 to your computer and use it in GitHub Desktop.
My GitHub ignore file… Change the WordPress Ignore Files to suite your specific WordPress install needs.
# WordPress Ignore Files #
######################
.htaccess
wp-config.php
wp-content/uploads/
wp-content/themes/r2d2
wp-content/plugins/
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment