-
Notifications
You must be signed in to change notification settings - Fork 527
"A successful Git branching model" should be fixed a bit #287
Comments
If you merge back to develop before a release, doesn't that break the whole purpose of release branches? The purpose of the release branch is to take a snapshot of develop and use that as a base for the upcoming release. |
It is merged back into
The change I suggest is to merge into |
It is merged back to develop, but develop may contain new commits by then, so once release is merged back to develop it is not suitable for merging with master anymore. |
Am I misunderstanding your statement here? Since release is merged back to both develop an master, develop is either:
In the second case, you’d still not want to merge develop directly to master because the new commits do not necessarily represent what should be in production (master branch). When those new commits are ready, you’d start a new release branch in order to prep them for release. When done, you’d be back at the step where you are merging the release branch to both master and develop again (and tagging, etc).
|
@KES777 What's confusing you in the latest log? |
As far as your drawn suggestions in the first post, like people have indicated your develop branch could be ahead of your release branch, so merging the develop branch into the master branch is not advisable. |
Just checked, and the code actually backmerges the tag to develop for a The image used in the documentation is from the original version. It needs updating I just don;t know how to :/ |
I don't get the purpose of the release branch if it's completely merged into develop again. Release should focus on:
|
@charles4711 |
Yes. As first arrow on my picture. With last two I was wrong. |
I've startet drawing a new diagram in inkscape. I'll let you know, when it's done |
|
@charles4711 can't you use the original to make the changes preserving the graphics style? |
@natros Thanks for providing the source code. Which program did you use to create it? I was working on an open source format svg. I think, the style is a bit different, but the content matters more to me. |
@charles4711 I did not create the diagram. It's on the bottom of the page for download http://nvie.com/posts/a-successful-git-branching-model/ |
I think the style of the new diagram is close enough to the original to render any differences moot. While I'm a fan of Keynote, I agree that a cross-platform graphics tool (or at least a platform-independent format) is better here since it would allow more contributors to make changes. Excellent work @charles4711 . I do agree with @KES777 that you should try and not hide the arrow showing the merge of Tag 1.0 from master to develop. Also, if you haven't already, could you check in the image source so others can chip in? |
I checked the source in and created a pull request for it in this repo. I changed my nickname from charles4711 to maldag, so don't be irritated :) |
- Arrow for Release merge to Tag 1.0 isn't hidden anymore - Added dot in develop to stress out, that tag will be merged to develop before new features will be merged to develop
It is strange to see when two branches are merged into another in one commit. PS. Yes, it same as origin but it is not correct |
You're correct with this, but as you noticed, it's the same in the original drawing. You could see the circles as individual commits or as a set of commits of the same kind. (aka "merge tag to develop" or "merge featrues to develop" or "create release branch from develop". It's probably a matter of perspective. |
Any consideration to update "Feature for future release" branch with updated develop branch after v1.0? |
I stumbled upon this trying to figure out what where a "bugfix branch" fit into the new flow, and how they differ from hotfix branches. I can't seem to find any documentation on it anywhere, but I gather they are like hotfixes for a release branch? In any case, it would be nice to see them incorporated into this new graphic. |
@hackel Bugfix branches are nothing more than feature branches. People wanted to see a difference between if a branch was a feature or bugfix. So I added the bugfix branch. |
Aha, thank you @petervanderdoes! So simple! |
Hello folks. I would like to add something about the bugfix branch which seem to have more commands than the others, any particular reasons for that ? Thanks |
@3kynox How do you mean, more commands? Hotfix, 5 commands:
Release, 6 commands:
Bugfix, 10 commands:
Feature, 10 commands:
|
Hey, You just pasted it, 10 commands for bugfix, like feature. hotfix branching got 6. If bugfix goal is the same as hotfix one but for the develop branch, if I understood correctly, why does we have more options to treat that new branch ? I'm just trying to understand correctly the new bugfix branch and maybe to help update the git flow branching picture for peoples be aware of that changes. |
@3kynox Oh, sorry, misread you there. Thought you were talking about hotfix. My bad. You're right, there are a couple of commands that look like they could be common commands, which appear to be missing from hotfix/release. Or at least from the help documentation; haven't checked the code. My guess is they were simply forgotten rather than purposefully ommitted, but I'm sure @petervanderdoes can shed some light on this. |
The
master
branch should be updated only fromdevelop
and vice versa. Without that fix we see info aboutrelease
andhotfix
differently from view ofmaster
ordevelop
You can see the
release/v0.02_16
branch fromdevelop
sideBut you do not see it from
master
side:The text was updated successfully, but these errors were encountered: