Как добавить много проектов в один репозиторий git? [закрыто]

Я хочу добавить два существующих проекта в один репозиторий git. Я уже добавил один проект в репозиторий. Теперь я хочу добавить второй проект, не затрагивая первый

-1
задан 18 July 2016 в 13:51
1 ответ

Возможна опция через --орфан ветвь. Viz manual:

--orphan
    Create a new orphan branch, named <new_branch>, started from
    <start_point> and switch to it. The first commit made on this new
    branch will have no parents and it will be the root of a new history
    totally disconnected from all the other branches and commits.

Its also well explained here https://stackoverflow.com/questions/14679614/whats-the-best-practice-for-putting-multiple-projects-in-a-git-repository

0
ответ дан 5 December 2019 в 20:28

Теги

Похожие вопросы