Best practice for managing project variants in Git?

前端 未结 5 2115
闹比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:39

    Move the common code to its own library and make it a dependency of those two projects. This is not a question of version control, but a question of code reuse, design and eliminating duplication.

提交回复
热议问题