4 ms·
I had a modular laravel app where each laravel module was a git submodule. Eventually we put all of those submodules into the same git repository, so we then
by thefifthsetpin 8y ago
I had a modular laravel app where each laravel module was a git submodule.
Eventually we put all of those submodules into the same git repository, so we then had had n+1 root commits for our n module laravel project.
It worked well until someone ran an accidental `git merge` of one of the submodules into the main project which sewed a bunch of confusion. After that point the practice was banned where I worked. Nice to know that git added a flag to prevent that, though at this point git have also added a subtree command which I think removes the need for our hack.
- carapace 8y ago*sow
- thefifthsetpin 8y agoThanks.