r/programming • • Jun 14 '20

GitHub will no longer use the term 'master' as default branch because of negative association

https://twitter.com/natfriedman/status/1271253144442253312
3.3k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

4

u/[deleted] Jun 14 '20

Except if you're not using Git flow. Which is probably a good idea, because Git flow is a horrible branching workflow. You don't need a master branch that only contains tagged commits, you can just tag the commits on your develop branch and use only that. And then call it master, as everyone else does.

0

u/dakotahawkins Jun 15 '20 edited Jun 15 '20

I think the point of that is just that cloning the default branch gives you the latest stable release. There's not really a great other way to do that.

Edit: Also, it gives you a way to branch from develop to stabilize releases without halting progress on everything else. If you don't need to do that, then you don't need to that, but if you do, git flow is a nice workflow.

1

u/LosersCheckMyProfile Jun 15 '20

You must be one of those old stubborn developers:

https://docs.gitlab.com/ee/topics/gitlab_flow.html

0

u/dakotahawkins Jun 15 '20

I mean I don't use it on personal projects, they're nowhere near big enough. I've used it on a big project where it did make sense though, and I don't think another workflow would have worked as well.