122
submitted 2 months ago* (last edited 2 months ago) by Gonzako@lemmy.world to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Evotech@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

Yea you always work on main on the same project.

You don’t push broken code. You always need to keep mainline healthy

It takes some special considerations, but the benefits are great.

[-] kewjo@lemmy.world 3 points 2 months ago

so when something breaks both devs, the one who made the previous change and the person pushing new, have to work together to solve the issue? no PRs or is everything a fork? do you revert and rebase every change?

[-] Evotech@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

You revert the broken commit usually.

https://martinfowler.com/articles/continuousIntegration.html

This is a good article on the topic

[-] exu@feditown.com 2 points 2 months ago

That doesn't stop you from removing your test commits before pushing

this post was submitted on 23 Jun 2026
122 points (92.4% liked)

Programmer Humor

33235 readers
1425 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS