From df6fea2165f030dbf226061cd1499970ea667a5a Mon Sep 17 00:00:00 2001 From: josephgodwinkimani <13916761+josephgodwinkimani@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:28:14 +0300 Subject: [PATCH] add .gitignore --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ad6a7b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Ignore everything in the root except the "wp-content" directory. +!.gitignore +!wp-content/ + +# Ignore everything in the "wp-content" directory, except the "plugins" and "themes" directories. +wp-content/* +!wp-content/plugins/ +!wp-content/themes/