Created
July 22, 2023 05:52
-
-
Save nathan-roberts/0e63d2895c4fe2b90c0a2600412da6c6 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
# WP Config | |
wp-config.php | |
# ignore these plugins | |
wp-content/plugins/hello.php | |
# ignore specific themes | |
wp-content/themes/twenty*/ | |
# ignore everything in the "wp-content" directory, except: | |
# "mu-plugins", "plugins", "themes" directory | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
!wp-content/themes/ | |
# ignore log files and databases | |
.DS_Store | |
*.DS_Store | |
*.log | |
*.sql | |
*.sqlite | |
*.zip | |
# ignore node dependency directories | |
node_modules/ | |
# Other stuff | |
/.htaccess | |
/license.txt | |
/readme.html | |
/sitemap.xml | |
/sitemap.xml.gz | |
# ignore node dependency directories | |
node_modules/ | |
dev-notes.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment