Last active
August 27, 2019 07:46
-
-
Save 6ui11em/4d64ef96c8f0b7dec045d72ee196252a to your computer and use it in GitHub Desktop.
Wordpress gitigonore #wordpress #git #gitignore
This file contains hidden or 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
# ignore everything in the root except the "wp-content" directory. | |
!wp-content/ | |
# 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 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 | |
# igonre OS files | |
.DS_Store | |
.idea | |
# igonre docker data | |
docker/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment