Created
June 24, 2020 09:45
-
-
Save vanduc1102/0f05dcf653833b4c4eea4e5a24cc7cdc to your computer and use it in GitHub Desktop.
wordpress .ignore
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
# track this file .gitignore (i.e. do NOT ignore it) | |
!.gitignore | |
# ignore compiled / system files | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
.idea | |
.vscode | |
.ftpquota | |
.DS_Store | |
# ignore packaged files | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# ignore log files | |
*.log | |
# ignore everything in the "wp-content" directory, except: | |
# "mu-plugins" directory | |
# "plugins" directory | |
# "themes" directory | |
vendor/ | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
wp-content/plugins/* | |
!wp-content/plugins/a-plugin/ | |
!wp-content/themes/ | |
wp-content/themes/* | |
!wp-content/themes/a-child/ | |
wp-content/themes/a-child/dist/ | |
!wp-content/themes/a/ | |
# ignore these plugins from the core | |
wp-content/plugins/hello.php | |
wp-content/plugins/akismet/ | |
# ignore node/grunt dependency directories | |
node_modules/ | |
*.sql | |
wp-config.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment