Git: how to avoid repetitive committing with sub-sub-sub… Git -repos?

后端 未结 3 539

I have many sub -repos, meaning one big umbrella repo that has smaller repos. Now when I do a commit in a leaf repo, it will automatically mean that I get a change in its pa

3条回答
  •  醉话见心
    2020-12-11 11:49

    It is possible that your design or structure is poor, perhaps the premise behind GoZoner's command "Don't create repositories within repositories.", but it is also possible that your project has come to a point requiring more powerful tools. There are times when basic submodules are not enough and your repos too broad, then you should probably look at -- GitSlave! It is a workflow -tool in which you specify your super -repo and then the slave repos. Instead of repetitive commiting, you use the gits -command -- manual here.

    Related threads

    • Git: a tool to manage and to structure Projects?

    • Not sure whether you should use Gitslave? Read a small introduction here with a walkthrough.

提交回复
热议问题