Do you version control the invidual apps or the whole project or both?

前端 未结 6 929
遥遥无期
遥遥无期 2020-12-19 07:03

OK, so I have a Django project. I was wondering if I\'m supposed to put each app in its own git repository, or is it better to just put the whole project into a git reposito

6条回答
  •  余生分开走
    2020-12-19 07:22

    Do those individual apps utilize shared code and libraries? If so, they really belong in the same repository .. which enables you to see the impact of new changes when running a single testing suite.

    If they are completely separate and agnostic, it really doesn't matter. Just for sanity, ease of building and ease of packaging, I prefer to keep a whole project in a combined repository. However, we typically work in very small teams. So, if no shared code is involved, its really just a question of which method is most convenient and efficient for all concerned.

提交回复
热议问题