Last active
December 14, 2015 17:09
-
-
Save ryanscherler/5120024 to your computer and use it in GitHub Desktop.
This is a template .gitignore file for git-managed WordPress projects. It ignores everything in the root except the theme you're working on.
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
# This is a template .gitignore file for git-managed WordPress projects. | |
# Ignores everything in the root except the theme you're working on. | |
/* | |
/*/ | |
!/_tpl/ | |
!/wordpress/ | |
/wordpress/* | |
!/wordpress/wp-content | |
/wordpress/wp-content/* | |
/wordpress/wp-content/plugins | |
/wordpress/wp-content/themes/* | |
!/wordpress/wp-content/themes/customtheme | |
*.DS_Store | |
*.gitignore | |
# *.less | |
# *.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This took WAY too long to figure out...