Answer the question
In order to leave comments, you need to log in
How to use another git repository in a git repository?
The situation is this: there is a server part of the application (repository) and it has a layout that is not yet ready, but is done in a completely different repository. How can I combine two repositories so that I can receive layout changes while in the backend repository?
Answer the question
In order to leave comments, you need to log in
Submodules
PS When will you all start reading the documentation, considering that it is not even available :(
Perhaps this is not Best Practice, but in our company it is done like this:
In the folder where another repo clings, .gitignore is thrown, which prohibits storing everything except itself here.
And basically there is a readme repo, where it is written in points how and from where to pull which turnips and which folders to put in.
IMHO, you can use shell-script in the main repository, which will automatically pull the necessary turnips into the right folders.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question