Last active
August 29, 2015 13:56
-
-
Save atmd83/8975390 to your computer and use it in GitHub Desktop.
Wordpress gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignores everything in wp-content except plugins and themes (this means uploads wont be checked in) | |
wp-content/* | |
!wp-content/plugins/ | |
!wp-content/themes/ | |
# Ignore everything in the "plugins" directory, except the plugins you declare | |
#Allows only plugins needed to make the site work to be stored in source control | |
wp-content/plugins/* | |
# !wp-content/plugins/[some important plugin] | |
# Ignore everything in the "themes" directory, except the themes we have built | |
wp-content/themes/* | |
# !wp-content/themes/[our theme] | |
#sitemaps created by plugins (dynamically generated so no point storing) | |
sitemap.xml | |
sitemap.xml.gz | |
#Damm mac files | |
.DS_Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment