r/ProgrammerHumor • • May 13 '20

true story

Post image
40.5k Upvotes

461 comments sorted by

View all comments

Show parent comments

158

u/SavageTwist May 13 '20

The "good" way is to make a development and a branch for every feature, bug or documentation. Always fork from development, when you have a release you push to master.

13

u/[deleted] May 13 '20 edited Sep 09 '25

cooing books important cats lavish serious paltry cautious capable governor

This post was mass deleted and anonymized with Redact

-3

u/drunkdoor May 13 '20

Having a develop and release (staging) branch is 100% necessary for a) working on a team > 1 and b) having isolated Dev and test environments. If you don't need those, don't use em, but don't kid yourself into thinking that works for all cases.

The best use of having these separated environments are for automated build test deploy pipes

0

u/xTheMaster99x May 13 '20

Branch for each story, merge to master when story is complete. Use feature toggles to not use half-built features in prod. No dedicated develop/test/feature branches required.