Best practice for managing project variants in Git?

前端 未结 5 2127
闹比i
闹比i 2020-12-31 11:58

I have to develop two Django projects which share 90% of the same code, but have some variations in several applications, templates and within the model itself.

I\'m

5条回答
  •  盖世英雄少女心
    2020-12-31 12:44

    I would make a third repo where I would place the code that Projects share. Then Project1 and Project2 would have their own repo and they can pull from that "shared" third repo.

    I think that your idea of "filtered pull" will make it difficult to mantein.

提交回复
热议问题