What is the best way to organize multiple projects when using git

前端 未结 3 835
慢半拍i
慢半拍i 2021-02-07 02:25

I have 5-10 independent projects that I want place under version control using Git. What is the best way to organize the projects/respositories:

  • Use one reposito
3条回答
  •  被撕碎了的回忆
    2021-02-07 03:19

    I'd definitely say use one repository for each project. Otherwise you're going to have all sort of crosstalk between projects, not to mention it's a pain to specify long paths if you're using command line git. Git works great with the one repository per project model, I can't really see any reason to use anything else; I don't think I ever really understood why SVN promoted working that way.

提交回复
热议问题