File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed
Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change 1- * .log
2- wp-config.php
3- wp-content / advanced-cache.php
4- wp-content / backup-db /
5- wp-content / backups /
6- wp-content /blogs.dir /
7- wp-content /cache /
8- wp-content /upgrade /
9- wp-content /uploads /
10- wp-content / mu-plugins /
11- wp-content / wp-cache-config.php
1+ # ignore everything in the root except the "wp-content" directory.
2+ ! wp-content /
3+
4+ # ignore everything in the " wp-content" directory, except:
5+ # "mu-plugins", "plugins", "themes" directory
6+ wp-content /*
7+ ! wp-content /mu-plugins /
8+ ! wp-content /plugins /
9+ ! wp-content /themes /
10+
11+ # ignore these plugins
1212wp-content /plugins /hello.php
1313
14- /.htaccess
15- /license.txt
16- /readme.html
17- /sitemap.xml
18- /sitemap.xml.gz
14+ # ignore specific themes
15+ wp-content /themes /twenty * /
1916
17+ # ignore node dependency directories
18+ node_modules /
19+
20+ # ignore log files and databases
21+ * .log
22+ * .sql
23+ * .sqlite
You can’t perform that action at this time.
0 commit comments