Skip to content

Instantly share code, notes, and snippets.

@uxjw
Created January 13, 2017 00:47
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 uxjw/dde116be3453db179f33489dbff94464 to your computer and use it in GitHub Desktop.
Save uxjw/dde116be3453db179f33489dbff94464 to your computer and use it in GitHub Desktop.
Wordpress git ignores
# OPERATING SYSTEMS
.DS_Store
.AppleDouble
.LSOverride
._*
*.lock
.Spotlight-V100
.Trashes
.svn
Thumbs.db
# CLIENT APP FILES
config.codekit
sftp-config.json
.BridgeCache
.BridgeCacheT
.sass-cache
.sass-cache-imports
.codekit-cache
bower_components
composer.lock
/vendor
# TEMP FILES
*PendingImageDownloads*.jpeg
*cache*
*.log
error_log
public/*.sql
# WORDPRESS
# Most things are ignored so add back anything critical in the next section
!.gitignore
public/*
!public/.htaccess
# override in wp-config-local
!public/wp-config.php
!public/wp-content/
public/wp-content/*
!public/wp-content/plugins/
!public/wp-content/mu-plugins/
!public/wp-content/themes/
public/wp-content/themes/twenty*
public/wordfence-waf.php
# SITE-SPECIFIC (INCLUDE ANYTHING CRITICAL TO THIS SITE)
# eg.
# !public/wp-content/variations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment