2019-05-12 15:05:22 +02:00
|
|
|
# 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
|
2015-04-24 20:24:29 +02:00
|
|
|
wp-content/plugins/hello.php
|
2015-04-24 20:10:30 +02:00
|
|
|
|
2019-05-12 15:05:22 +02:00
|
|
|
# ignore specific themes
|
|
|
|
wp-content/themes/twenty*/
|
2015-04-24 20:10:30 +02:00
|
|
|
|
2019-05-12 15:05:22 +02:00
|
|
|
# ignore node dependency directories
|
|
|
|
node_modules/
|
|
|
|
|
|
|
|
# ignore log files and databases
|
|
|
|
*.log
|
|
|
|
*.sql
|
|
|
|
*.sqlite
|