mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Ignore application/cache but keep index and .htaccess
Update .gitignore to exclude all files under /application/cache while whitelisting /application/cache/index.html and /application/cache/.htaccess. This prevents committing transient cache files but preserves placeholder and access-control files needed to keep the directory and settings in the repo.
This commit is contained in:
parent
c57c250b45
commit
fc67bb045f
1 changed files with 3 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -2,6 +2,9 @@
|
|||
/application/config/config.php
|
||||
/application/config/managed.php
|
||||
/application/config/managed.sample.php
|
||||
/application/cache/*
|
||||
!/application/cache/index.html
|
||||
!/application/cache/.htaccess
|
||||
/application/logs/*.php
|
||||
/uploads/*.adi
|
||||
/uploads/*.ADI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue