fix/default-theme-name #1

Merged
lucilio merged 4 commits from fix/default-theme-name into main 2026-04-24 00:06:21 +00:00
Showing only changes of commit b7c8c0f9c9 - Show all commits
+13 -4
View File
@@ -7,14 +7,23 @@
# ignora tudo dentro de wp-content # ignora tudo dentro de wp-content
/webroot/wp-content/* /webroot/wp-content/*
# permite o que é seu # permite as pastas (mas não o conteúdo delas)
!/webroot/wp-content/plugins/ !/webroot/wp-content/plugins/
!/webroot/wp-content/themes/ !/webroot/wp-content/themes/
!/webroot/wp-content/mu-plugins/ !/webroot/wp-content/mu-plugins/
# permite arquivos específicos se precisar /webroot/wp-content/plugins/*
!/webroot/wp-content/plugins/seu-plugin/ /webroot/wp-content/themes/*
!/webroot/wp-content/themes/seu-tema/ /webroot/wp-content/mu-plugins/*
# permite o .gitkeep para que a pasta vazia seja versionada
!/webroot/wp-content/plugins/.gitkeep
!/webroot/wp-content/themes/.gitkeep
!/webroot/wp-content/mu-plugins/.gitkeep
# se no futuro quiser versionar algo específico:
# !/webroot/wp-content/themes/seu-tema/
# !/webroot/wp-content/themes/seu-tema/**
# regras gerais # regras gerais
.DS_Store .DS_Store