Improve gitignore rules for modules and templates

This commit is contained in:
Christophe Laffont
2014-03-11 09:59:07 +01:00
parent a408f13293
commit dce97917c3

18
.gitignore vendored
View File

@@ -25,7 +25,19 @@ xhprof/
phpunit.phar
.DS_Store
phpmyadmin
templates/default-esi
local/modules/TemplateEsiModule
composer.phar
web/.htaccess
web/.
# Ignore everything in the "modules" directory, except the "default modules"
local/modules/*
!local/modules/Cheque/
!local/modules/Front/
!local/modules/TheliaDebugBar/
!local/modules/Tinymce/
# Ignore everything in the "templates" directory, except the "default template"
templates/*
!templates/backOffice/
!templates/email/
!templates/frontOffice/
!templates/pdf/