Git Setup Best practices

后端 未结 5 1742
执笔经年
执笔经年 2021-01-30 11:28

I was tasked with setting up Git for my office. We have several sites. I just set up a network drive for us to push our changes to. My question is: Where do I init the Git repos

5条回答
  •  轮回少年
    2021-01-30 12:33

    It's a matter of preference if you'd rather have all code bases in one git repo, or each in their own. That said, my preference would be one git repo per code base/site. That way you can work on a single site without having to check out the others, and you won't have to worry about changes to the other sites getting in the way of any commits you might push to any given site.

提交回复
热议问题