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

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

    Almost always easier to have one repository per development team, no matter how many products you have. Eventually you will want to share code between projects (even several seperate DJango websites!) and it is much easier to do with only one repository.

    By all means set up a nice folder structure WITHIN that repository. However, a single checkout from git (probably from a subfolder) should give you all the files you need for your test website (python, templates, css, jpegs...), and then you just copy httpd.conf and so on to complete the installation.

提交回复
热议问题