this post was submitted on 03 Mar 2024
1011 points (97.6% liked)

Programmer Humor

30852 readers
1128 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Anticorp@lemmy.world 29 points 2 years ago (3 children)

If you're pushing to master, then you're doing it wrong.

[–] Hawk@lemmynsfw.com 6 points 2 years ago (1 children)

Why? I almost always have master/dev/stable.

[–] TunaCowboy@lemmy.world 8 points 2 years ago (1 children)

You should not be pushing into your main/master/whatever branch.

All the main/master replies completely miss the point, further emphasizing sirsirsalot's statement.

[–] Hawk@lemmynsfw.com 1 points 2 years ago (1 children)

I think I’ll keep doing it. It’s worked fine for the past decade 🤷

[–] Solemn@lemmy.dbzer0.com 1 points 2 years ago

It works fine for small projects. I think that with more than 2-3 devs a PR based strategy works better for enforcing review and just makes life easier in general, since you end up with less stuff like force pushes to fix minor things like whitespace errors that break everyone's local.

[–] Tanoh@lemmy.world 3 points 2 years ago

Different workflows.

[–] uis@lemm.ee 2 points 2 years ago

git send-email