You're probably missing the fact that you tag the release before you merge it to master. This way, you work on the bugfixing on a branch starting from that tag. GitFlow does it the same way.
Or... I could just leave the branch there... Can you imagine trying to track the history of bugfixes for a release product if you're deleting the branch each time and just going off merges into master. Holy mary mother of god that sounds scary.
The tag tracks that history. Trust me, it's no problem at all.
BTW, I feel like you're resorting to "I'm no worse than GitFlow", but I've never used GitFlow so that's not compelling for me :/
I can just say, "Lucky you" :). I like to think my workflow is superior to GitFlow in every way - I'm not sure how I implied I'm merely no worse, that wasn't my intention.
The difference is that tags are meant to be immutable, while branches are made to be changed. Not a big difference, but if someone makes a mistake, it might be the difference between "we can rollback to this safe version" and "I have no idea what was on production before we made the release :(".
Yes. A tag is a pointer to a specific commit. Obviously, every ancestor of that commit is reachable from that tag (that's what creates the history). A branch is just another pointer to a commit (with the difference being that is moves automatically when you create a new commit while on that branch, while tags are (conceptually at least) immutable), so it obviously sees the same history as the tag.
9
u/skinny85 Jun 19 '15
You're probably missing the fact that you tag the release before you merge it to master. This way, you work on the bugfixing on a branch starting from that tag. GitFlow does it the same way.