Should I store all projects in one repository or multiple?

前端 未结 11 1104
长情又很酷
长情又很酷 2020-12-02 09:04

I am currently using TortoiseSVN to manage a couple of the projects that I have on the go at the moment. When I first moved everything into source control I wasn\'t really

11条回答
  •  Happy的楠姐
    2020-12-02 09:23

    My rule of thumb is to consolidate things that are delivered together. In other words, if you might deliver project X and project Y separately, then put them in separate repos.

    Yes, sometimes this means you have a huge repo for a project that contains a huge number of components, but people can operate on sub-trees of a repo and this forces them to think of the "whole project" when they commit changes to the repo.

提交回复
热议问题