How to organise git repos when building on a seed project

前端 未结 2 1102
说谎
说谎 2021-02-10 07:07

I am building a site based on an seed project (MEAN.io) which I cloned from github. How do I separate these files from my own files. As this seed gives a wide skeleton of files,

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-10 07:36

    If you want to built your OWN code INSIDE the code from the other git repo, the only way to go about it is to merge the other git repo inside yours each time.

    To do this easily you can checkout the other git repo in a separate branch (or even git submodule), and merge this branch (or submodule) back in the master branch where your code is.

提交回复
热议问题