Skip to content

Instantly share code, notes, and snippets.

@rezzz-dev
Created May 19, 2013 17:00
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 rezzz-dev/5608260 to your computer and use it in GitHub Desktop.
Save rezzz-dev/5608260 to your computer and use it in GitHub Desktop.
Template for .git managed WordPress websites
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: As a result, we only stick the site's wp-content in the repo
#
# See the comments below for more info on how to add exceptions for your
# content. Or see git's documentation for more info on .gitignore files:
# http://kernel.org/pub/software/scm/git/docs/gitignore.html
.DS_Store
*~
.*.swp
.svn
.cvs
*.bak
Thumbs.db
tmp
config.ru
*.log
*.sql
############################################################################
# Application Specific #
############################################################################
advanced-cache.php
wp-cache-config.php
cache/*
cache/supercache/*
backups/
############################################################################
# Dev Tools #
############################################################################
debug-bar/
kint-debugger/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment