U
U
unfapable2016-03-12 12:34:01
git
unfapable, 2016-03-12 12:34:01

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

2 answer(s)
T
TyzhSysAdmin, 2016-03-12
@unfapable

Submodules
PS When will you all start reading the documentation, considering that it is not even available :(

A
Alexander Sharihin, 2016-03-12
@Pinsky

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 question

Ask a Question

731 491 924 answers to any question