J
J
Javarast Skriptovich2020-06-25 14:52:42
git
Javarast Skriptovich, 2020-06-25 14:52:42

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)
5ef48d9e08b54176206391.png





and for build folder

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2020-06-25
@bingo347

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 question

Ask a Question

731 491 924 answers to any question