r/programming • • Jun 19 '15

GitFlow considered harmful

http://endoflineblog.com/gitflow-considered-harmful
13 Upvotes

244 comments sorted by

View all comments

0

u/[deleted] Jun 19 '15

[deleted]

-3

u/skinny85 Jun 19 '15

Post author here.

Keeping the release branch is not needed, as it's always merged back to master, so after the merge it's just junk in the repo. GitFlow does it exactly the same.

1

u/dalore Jun 19 '15

It's not junk, it's valid. If you ever need to review the history of commits for a feature branch.

If you rebase you lose this history for no gain. It's not like it's taking up extra space. If you want to look at just the commits on the main branch then just filter for those.

Saying you want a nice git history is just saying you don't know how to filter it. It's the same thing but you get extra.

1

u/skinny85 Jun 19 '15

I think you're mixing the discussion about rebase/merge and release branches. They are not needed, because after the merge all of the history is reachable from master.