From 0022763f1493e247c69d4fe441b398cca23bc464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patr=C3=ADcio=20dos=20Santos?= Date: Fri, 20 Nov 2015 18:14:33 +0100 Subject: [PATCH] Update CakePHP.gitignore Ignore all tmp and log files but preserve the directory structure --- CakePHP.gitignore | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CakePHP.gitignore b/CakePHP.gitignore index 55a665e..c6597e4 100644 --- a/CakePHP.gitignore +++ b/CakePHP.gitignore @@ -2,8 +2,20 @@ /vendor/* /config/app.php -/tmp/* + +/tmp/cache/models/* +!/tmp/cache/models/empty +/tmp/cache/persistent/* +!/tmp/cache/persistent/empty +/tmp/cache/views/* +!/tmp/cache/views/empty +/tmp/sessions/* +!/tmp/sessions/empty +/tmp/tests/* +!/tmp/tests/empty + /logs/* +!/logs/empty # CakePHP 2 -- GitLab