Proper Git workflow for combined OS and Private code?

后端 未结 6 1732
情歌与酒
情歌与酒 2020-12-17 18:14

I have a closed source project that is built on my open source framework. I want to know how I should structure my workflow. Below is my best guess using git with submodules

6条回答
  •  执念已碎
    2020-12-17 18:30

    Make the public repo a submodule inside the private one. When pushing, remember you have to push them both. Also remember to check in the submodule itself in the private repo, so it tracks what revisions of the submodule it is using.

提交回复
热议问题