Join multiple subrepos into one and preserve history in Mercurial

后端 未结 3 1508
我寻月下人不归
我寻月下人不归 2020-12-17 18:39

Currently I have project consisting of multiple repositories, e.g.:

+---Project (main repo)
    +---Core (subrepo)
    +---Web          


        
3条回答
  •  一个人的身影
    2020-12-17 19:40

    Assuming you don't have to convert repos, why not simply push each repo in the central one?

    1. Make sure each repo root directory have a main directory named after the repo name.
    2. push each repo in the main repo.

提交回复
热议问题