Skip to content

Instantly share code, notes, and snippets.

@MatthewEppelsheimer
Last active December 10, 2015 16:08
Show Gist options
  • Save MatthewEppelsheimer/4459054 to your computer and use it in GitHub Desktop.
Save MatthewEppelsheimer/4459054 to your computer and use it in GitHub Desktop.
Ignore WordPress core files in our site-specific repos.
# --- Ignore uploads
wp-content/uploads/
# --- Ignore default content
wp-content/themes/twentyeleven/
wp-content/themes/twentytwelve/
wp-content/themes/twentythirteen/
wp-content/themes/twentyfourteen/
wp-content/themes/twentyfifteen/
# --- Ignore globally
*wp-config-local.php
# --- Allow globally
!*.gitignore
!*.gitkeep
# --- Ignore OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
# --- Ignore Vim generated files
*.swp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment