Skip to content

Instantly share code, notes, and snippets.

@mandiwise
Last active December 4, 2017 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mandiwise/911bd43e9cc40a98dab57a9b55b0f91c to your computer and use it in GitHub Desktop.
Save mandiwise/911bd43e9cc40a98dab57a9b55b0f91c to your computer and use it in GitHub Desktop.
Communit Project .gitignore
# COMMUNITY PROJECT GITIGNORE #
# Ignore OS files #
# =============== #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
*[Tt]humbs.db
*.Trashes
# Ignore logs and databases #
# ========================= #
*.log
*.sql
error_log
access_log
# Ignore everything in "wp-content" except the "plugins" and "themes" directories. #
# ================================================================================ #
/*
!.gitignore
!plugins/
!themes/
!README.md
# Ignore everything in "plugins" except certain plugins. #
# ========================================================== #
plugins/*
!plugins/[YOUR-FUNCTIONALITY-PLUGIN-NAME]/
# Ignore everything in "themes" except the active theme. #
# ====================================================== #
themes/*
!themes/[YOUR-THEME-NAME]/
# Ignore npm packages #
# =================== #
themes/[YOUR-THEME-NAME]/node_modules/*
# Ignore build files #
# ================== #
themes/[YOUR-THEME-NAME]/gulpfile.js
themes/[YOUR-THEME-NAME]/build/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment