I have a project based on CodeIgniter..
I have environment config folders such as:
/* this does not get pushed to github, it stays on my development workstation */
/application/config/development
/* this is created from example_changeme, when a new client is created. */
/application/config/production
/* this one is used when creating a new client it houses the "template" of production configs */
/application/config/example_changeme
I have a core repo for github which includes everything except for the following folders:
/application/config/production
/application/config/development
/application/views
/index.php
i have a client repo with branches of each client. These branches have the folders:
/* this is created from example_changeme */
/application/config/production
/application/views
/index.php
on my development workstation i have a folder structure as:
/core/
/client/
ggg/
sgaz/
I need to be able to make changes to core_repo and be able to pull down those changes into a specific branch (or all branches within the client repo). An example scenario would be:
I make a code change to a controller under: /application/controllers
Currently: I have to copy/paste or re-clone the core_repo to each of the new sites, and re-create any changes i've had to my views.
Ideally: I would like to simply use a form of "update" to get the changes from core_repo yet, keep applications/views and config/production and index.php in tact.
How can i go about doing such a thing?