2022-10-24 20:28:05 +02:00
|
|
|
# ---> WordPress
|
|
|
|
# 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
|
|
|
|
|
2022-10-25 00:03:57 +02:00
|
|
|
# ignore local personal files
|
|
|
|
*.geany
|
2022-10-25 00:46:38 +02:00
|
|
|
.DS_Store
|
|
|
|
theme/
|
|
|
|
|