From 5b26f95ec2ec7a935eafb22dafa0e7cc47fa5614 Mon Sep 17 00:00:00 2001 From: takayukister Date: Sat, 22 Feb 2020 16:11:01 +0900 Subject: [PATCH] Initial commit --- .gitignore | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a32768a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# 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