Structure in git with multiple websites

后端 未结 3 1815
一向
一向 2021-02-19 12:54

I have a website that i keep in git. It is a asp.net webforms website (but that is probably unimportant to this question).

The website is used by our customer for 2 (in

3条回答
  •  -上瘾入骨i
    2021-02-19 13:51

    A submodule is a good solution for the shared BackOffice code, with each site acting as a parent repo.

    But that doesn't address the config files.

    For those, one possibility is a content filter, but that would involve storing and pushing the values of the variable for the different clients.

    It is best to keep those config files in the parent repo in client-specific branches.

提交回复
热议问题