Answer the question
In order to leave comments, you need to log in
GIT: How to organize stacked repositories?
I want to make a small personal site where I will collect demos of all my applications (web ones). Applications from time to time I add / rework. Also in the blog there are links to them and their repositories. And this is where I hit a dead end.
All site code is in a specific repository. At the same time, the code of each demo is in its own repository. But on the server, their code is located in the same directory as the general site code, and as a result, inside the site repository.
Question: how to update their code regardless of the site code?
There was an idea to add their directories to the .gitignor of the main repository and download them separately. But how in this case to automate the project?
Maybe someone faced a similar problem? Tell me how to solve it?
Answer the question
In order to leave comments, you need to log in
Nafig gitmodul, put them in different folders and don't fence borscht.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question