A
A
Andrey Andryushchenko2017-06-12 22:32:32
git
Andrey Andryushchenko, 2017-06-12 22:32:32

How in git to make a copy of a part of the project stored on another server?

There is a project stored in a remote git repository. Part of it is the server side of the project, which should be uploaded to the host. A host in Heroku is essentially the same remote git repository. How to organize a git repository so that part of it can be uploaded to another server (Moreover, it is desirable to keep a copy of this part on the main repository)?
It would of course be possible to configure the host as a second server for the local git repository, but then it will store a copy of the entire repository, and not just one directory with the backend.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2017-06-12
@chupasaurus

Separate the server part into a separate repository (Ba Dum Tss)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question