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

前端 未结 6 917
遥遥无期
遥遥无期 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:19

    I'm no git expert, but I don't believe the appropriate strategy would be any different from one for hg, or even, in this case, svn, so I'm going to give my 2 cents' worth anyway;-).

    A repo per app makes any sense only if substantial numbers of people might be interested in pulling out (or watching changes to) separate apps; this could theoretically be the case but I've never observed it in real life -- mostly, people who are interested in the project are interested in it as a whole. Therefore, I would avoid complications and make the whole proj into one repo.

提交回复
热议问题