Why we should apply this in our development environment ? Because it is easier to update CakePHP library used in your application.
Follow this trail below , junior programmer should be able to understand it :
cd /var/www/my_cakephp_application
# First, remove the current cake folder
rm -rf cake/ mkdir core/
# Now add cakephp as your application submodule
git submodule add git@github.com:arifsanchez/cakephp.git core/ git submodule init git submodule update
# Okay, now you should see files in core/ directory.
# Set your application to read cakephp library from new directory.
# Open app/webroot/index.php (try line 53)
if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'core'); }
So every morning, before you start your code writing again, please run
git submodule init git submodule update



![Album Art for My Hero [January 1998]](http://userserve-ak.last.fm/serve/64s/69591230.png)
![Album Art for Numb [June 1993]](http://userserve-ak.last.fm/serve/64s/62577349.png)
