Skip to content

Instantly share code, notes, and snippets.

@msng
Created August 13, 2013 04:05
Show Gist options
  • Save msng/6217801 to your computer and use it in GitHub Desktop.
Save msng/6217801 to your computer and use it in GitHub Desktop.
CakePHP の tmp 以下 empty ファイルだけを add して他は無視するやつ。 これ美しくないから何とかしたいんだけど。
/app/tmp/cache/*
!/app/tmp/cache/models/
!/app/tmp/cache/persistent/
!/app/tmp/cache/views/
/app/tmp/cache/models/*
!/app/tmp/cache/models/empty
/app/tmp/cache/persistent/*
!/app/tmp/cache/persistent/empty
/app/tmp/cache/views/*
!/app/tmp/cache/views/empty
/app/tmp/logs/*
!/app/tmp/logs/empty
/app/tmp/sessions/*
!/app/tmp/sessions/empty
/app/tmp/tests/*
!/app/tmp/tests/empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment