Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@corjaantje this is why I hate GitHubs PR system. People think that by using a PR they're not touching master. You are. It creates a culture of fear around deploying software. Deployment shouldn't be scary. It should be boring and something that you don't even really think about because of how easy it is to do.
My recommendation: don't commit directly to master. Merge into master often, anytime you have code working. -
jimmeh10508yFirst rule of software development:
Never touch the master branch.
Second rule of software development:
NEVER TOUCH THE MASTER BRANCH
It's a poster that hangs on my wall. -
If you are like me and you don't understand how use Git correctly, use **Git Flow**!
-
michaelm1328yWell if you practice continues deployment then the idea of branching is bad. My opinion is always commit to master so you don't delay the integration, but!! you should have all the quality gateways in place like unit testing, integration testing, cucumber, some form of code inspection and all automated in the build. The idea: fail hard and fail fast so you can fix and deploy.
-
lewdogg9958yMy philosophy
4 branches
Local
Development
Staging
Master
Only work in local. Development only gets merged into from local. Staging from development. Master from staging.
Related Rants
-
localpost32General advice: If you're the smartest person in the room, you're in the wrong room.
-
Querijn18To all new devs: - Your language of choice is fine. - There is no superior way to indent, yours is fine. - You...
-
dfox7If you're not learning anything new at your job it's probably time to move on.
Never touch the master branch...
undefined
wk26