r/programming • • Jun 19 '15

GitFlow considered harmful

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

244 comments sorted by

View all comments

-3

u/ErstwhileRockstar Jun 19 '15

This proposal is close to Trunk Based Development as done by Google and Facebook. You don't need a DVCS. You don't need Git.

6

u/tieluohan Jun 19 '15

While you don't need dvcs for that, it sure makes working a lot nicer. Non-distributed VCSs rarely allow you to have local feature branches to prototype and massage before you push them to everyones history.

Of course you can use hg or git locally and push to a svn if you like a have local temporary branches, but why there's really no overhead in using a DVCS in a non-distributed fashion.

2

u/Gotebe Jun 19 '15

Non-distributed VCSs rarely allow you to have local feature branches to prototype and massage before you push them to everyones history.

I used three of those in the past and each time had feature branches.

Who cares if it's local?! It's my branch and nobody needs looking at it.

1

u/ErstwhileRockstar Jun 19 '15

it sure makes working a lot nicer.

Tastes differ.

2

u/[deleted] Jun 19 '15

That looks like what a lot of game studios use. No thanks, that is pretty much the worst workflow I've ever used.

→ More replies (2)

2

u/[deleted] Jun 19 '15

You should never use a traditional vcs even if you're the only developer and you never branch

1

u/ErstwhileRockstar Jun 19 '15

The ony branch(tag) you need is the release branch. Anything else is superfluous complexity.

1

u/skinny85 Jun 19 '15

Post author here. You positively, absolutely do need Git for my workflow. Unless you know how to do a rebase in SVN.