A successful Git branching model (2010)
1–10 of 121 posts
Re: A successful Git branching model (2010)
#2Re: A successful Git branching model (2010)
#3If you must have a "release" branch or "stable" branch, ok, go for it, but leave the "master" for developing. Why? Strive to have sane defaults.
Frankly, the idea that somebody must check out some extra special branch after cloning repo in order to start properly developing, is not sane.
Re: A successful Git branching model (2010)
#4@dang this is old
Re: A successful Git branching model (2010)
#5The advice here given to avoid using "master" branch for development, and advice to create non-default branch named "develop" (or variations thereof) is quite harmful. If you must have a "release" branch or "stable" branch, ok, go for it, but leave the "master" for developing. Why? Strive to have sane defaults. Frankly, the idea that somebody must check out some extra special branch after cloning repo in order to sta…
Re: A successful Git branching model (2010)
#6It's good, but now exactly "news". Every git user should be aware of git-flow, even if you do have a better way of using git.
Re: A successful Git branching model (2010)
#7The advice here given to avoid using "master" branch for development, and advice to create non-default branch named "develop" (or variations thereof) is quite harmful. If you must have a "release" branch or "stable" branch, ok, go for it, but leave the "master" for developing. Why? Strive to have sane defaults. Frankly, the idea that somebody must check out some extra special branch after cloning repo in order to sta…
I'm assuming you think it's harmful because master is the branch committed to and pushed by default?
I know a team that runs this branching model. It's quite surprising to hear statements "we never commit to master branch". "after cloning, always remember to switch to development branch". "when creating pull request, always remember if you used "development" as base". and then the mistakes eat up lot of cycles in the end.
Re: A successful Git branching model (2010)
#8Re: A successful Git branching model (2010)
#9The advice here given to avoid using "master" branch for development, and advice to create non-default branch named "develop" (or variations thereof) is quite harmful. If you must have a "release" branch or "stable" branch, ok, go for it, but leave the "master" for developing. Why? Strive to have sane defaults. Frankly, the idea that somebody must check out some extra special branch after cloning repo in order to sta…