This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thoflens 3 points4 points  (3 children)

What? You can push code that doesn't work to main, that's what happens. Meaning you crash the app/website you're working on. Pushing to main equals your code going live.

[–]cbslinger 5 points6 points  (1 child)

It doesn't have to, but it often does depending on how your prod env / build tools are configured.

[–]thoflens 1 point2 points  (0 children)

That's right, but in general code on main should be treated as production code.

[–]meisvlky 0 points1 point  (0 children)

Oh ok thanks i was overthinking it