Using GIT with the PHP framework and updating this structure

I read about it, but thought a certain post might be helpful.

Let's say I use the FuelPHP framework for some custom projects, and these guys are releasing a new update for the framework. My project already has a GIT project repository with all my own scripts / views / libraries, etc.

Can I add an updated framework as a remote and extract from it? Will he update the framework files without screwing up all the user work that I created to create the application? I'm trying to use GIT on the next level, making it easy to upgrade frameworks and deploy to my servers.

+4
source share
1 answer

I would look at using Git Submodules . This way you can use Fuel almost like your own repository, which can be updated and displayed independently of the rest of your structure.

+4
source

Source: https://habr.com/ru/post/1390261/


All Articles