diff options
author | PatrĂcio dos Santos <eu@patricio.me> | 2015-11-20 18:14:33 +0100 |
---|---|---|
committer | PatrĂcio dos Santos <eu@patricio.me> | 2015-11-20 18:14:33 +0100 |
commit | 0022763f1493e247c69d4fe441b398cca23bc464 (patch) | |
tree | 1eeeebbe0e5fe789d27f5a7aea11d3008090f470 | |
parent | da00310ccba9de9a988cc973ef5238ad2c1460e9 (diff) | |
download | gitignore-0022763f1493e247c69d4fe441b398cca23bc464.tar.gz gitignore-0022763f1493e247c69d4fe441b398cca23bc464.zip |
Update CakePHP.gitignore
Ignore all tmp and log files but preserve the directory structure
-rw-r--r-- | CakePHP.gitignore | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/CakePHP.gitignore b/CakePHP.gitignore index 55a665e4..c6597e4e 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 |