T
T
TheDoctor2017-01-03 00:50:18
git
TheDoctor, 2017-01-03 00:50:18

Githab. Is it possible to link two repositories?

We have two repositories.
1. Class for working with the API of a third-party site
2. CMS module
As the module is being developed, it becomes necessary to refine the API class.
The structure of the module is such that it contains a class for working with the API.
Is it possible to somehow link two repositories so that when cloning / downloading the cms module, the class is cloned / downloaded to work with the API?
This would keep the class up to date in the module.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2017-01-03
@TheDoctor

git submodules, but if this is a php thing - use composer and don't torture yourself just like that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question