开发者

Whats the best way to use a git repo for collaborators?

开发者 https://www.devze.com 2023-01-30 19:54 出处:网络
In general, whats the best way to use a repo for collaborators? Should we both just push and pull from the master repo or would we have a branch for each col开发者_StackOverflow社区laborator and then

In general, whats the best way to use a repo for collaborators? Should we both just push and pull from the master repo or would we have a branch for each col开发者_StackOverflow社区laborator and then merge when appropriate?

Apologies if this is a stupid/basic question; git noob here ;-)Thanks.


Git supports a number of different workflows. See here for some conceptual diagrams to see some basic options: http://git-scm.com/about/distributed

To me, branches aren't typically related 1:1 with collaborators...that's what repositories themselves are for. Branches are for keeping changes local to the task at hand.

0

精彩评论

暂无评论...
验证码 换一张
取 消