Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git branching model: release tag vs release branch #37

Closed
jcstaudt opened this issue Mar 5, 2019 · 1 comment
Closed

Git branching model: release tag vs release branch #37

jcstaudt opened this issue Mar 5, 2019 · 1 comment
Assignees
Labels
feedback General feedback more than bug reports or feature requests question Questions more than bug reports or feature requests (e.g. how do I do X)

Comments

@jcstaudt
Copy link
Collaborator

jcstaudt commented Mar 5, 2019

Can we please discuss the use of release branches versus release tags (i.e. rel3 branch vs tagging a version number onto the master branch)? One thing I like about release tags rather than release branches is that it is much more difficult to mess them up (i.e. you can accidentally append a commit onto the branch after it's been released). Release tags point to a specific commit and make it easier to disseminate.

It makes perfect sense to begin developing toward a rev3 release but, stable and merged rev1/rev2/rev3/etc commits are often marked as tags in master; official releases are then released off of master to ease the task of external users downloading the package appropriately. Deprecating master to progress further on a rev3 branch would (I believe) be confusing as the goal of a branch is to break off until development has matured, to eventually be merged back into the master branch. Contributors could also be left committing to a stale branch, not knowing that another had been made active. From my understanding, moving the primary branch from master to rev3 would deviate from common git practices.

@jcstaudt jcstaudt added question Questions more than bug reports or feature requests (e.g. how do I do X) feedback General feedback more than bug reports or feature requests labels Mar 5, 2019
@hehopmajieh
Copy link
Member

hehopmajieh commented Mar 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback General feedback more than bug reports or feature requests question Questions more than bug reports or feature requests (e.g. how do I do X)
Projects
None yet
Development

No branches or pull requests

3 participants