Skip to content
Browse files

Update CakePHP.gitignore

Ignore all tmp and log files but preserve the directory structure
  • Loading branch information...
1 parent da00310 commit 0022763f1493e247c69d4fe441b398cca23bc464 @psantos10 psantos10 committed
Showing with 13 additions and 1 deletion.
  1. +13 −1 CakePHP.gitignore
View
14 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

0 comments on commit 0022763

Please sign in to comment.
Something went wrong with that request. Please try again.