Answer the question
In order to leave comments, you need to log in
Github: One local repository for two remote ones?
There is a Vue.js project hosted on Github Pages that allows you to host only open turnips, and of course, you don’t want to give out the entire source code at all, i.e. we need to have two remote turnips) But
at the same time I want to have one folder for the project, for the convenience of opening in the
editor ]) build - build folder, the contents of which, in fact, should be sent to another remote repository with hosting enabled (remote rep. ".../proj_build" [public])
Tell me, how can I solve this problem? Not an option:
Create full repositories for the root (project)
and for build folder
Answer the question
In order to leave comments, you need to log in
https://git-scm.com/book/en/v2/Tools-Git-Under...
make the build folder a submodule, which remote will have a public repo
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question