Skip to content

Instantly share code, notes, and snippets.

Last active Jan 20, 2022
What would you like to do?
This is a boilerplate for a .gitignore file when tracking at the WordPress wp-content directory level. It allows tracking of custom plugins and themes whilst ignoring everything else.
# Ignore anything within themes, except the theme we are building.
# Ignore anything within plugins. Exceptions to this to follow.
# Track any plugins prefixed with myproject-
# Track any other plugins we control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment