Answer the question
In order to leave comments, you need to log in
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
Separate the server part into a separate repository (Ba Dum Tss)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question