Created
February 24, 2021 17:48
-
-
Save barrd/2c5b3556baf3bc1c65abc74452f502db to your computer and use it in GitHub Desktop.
WordPress (Vanilla) Git Ignore File
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
# --------------------------------------------------------------------- | |
# Vanilla WordPress Git Ignore File | |
# --------------------------------------------------------------------- | |
# Ignore everything in root except wp-content dir & wp-config | |
/* | |
!wp-content/ | |
!wp-config* | |
wp-config-sample.php | |
# Ignore everything in the "wp-content" directory, except: | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
!wp-content/themes/ | |
# Ignore these plugins | |
wp-content/plugins/hello.php | |
# Ignore specific themes | |
wp-content/themes/twenty*/ | |
# Ignore node dependency directories | |
node_modules/ | |
# Ignore log files and databases | |
*.log | |
*.sql | |
*.sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment