SVN and CakePHP
If, like me, you often use Subversion as your versioning system and CakePHP as your framework you will probably need to setup up your subversion repository to ignore certain files on your development machine before checking them in to the repository. Obvious candidates for exclusion are your config files and your cache. Although there is lots of info on the web about this sort of thing there are so many ways to do this it’s nice to have a Cake specific example.
to exclude your config files simply do:
svn propset svn:ignore core.php app/config/
svn propset svn:ignore database.php app/config/
rinse and repeat if you have more server specific configuration.
finally to exclude your cache files do:
svn propset -R svn:ignore "*" app/tmp/
this will recursively set an “ignore all files” property on all the directories in tmp.
happy baking!