Answer the question
In order to leave comments, you need to log in
Subrepo for Laravel resources?
Hello. There is a project on Laravel as well as two private repositories on GitLab. Here's the thing: the layout designer needs access to the site's resources, but he absolutely does not need access to the site's source code. There are two repositories for this purpose: site and site-assets. Site git hangs in the root directory, and now I need to make the public/assets and resources/views directories hang in the site-assets repo. Also, when these two directories change in any of the repositories, the second one should also be updated. Is such a miracle realizable and how?
Answer the question
In order to leave comments, you need to log in
This is possible, in part, with gitmodules . The only problem is that you have to make two repositories for public/assets and resources/views, or add a submodule to the root and suffer with the gitignore setting (I never did this, I'm not sure if it will work).
Here's the thing: the layout designer needs access to the site's resources, but he absolutely does not need access to the site's source code.It's a delusion.
Is such a miracle realizable and how?Three obvious ways:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question