this post was submitted on 11 Oct 2025
299 points (98.7% liked)

Programmer Humor

41595 readers
55 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] GissaMittJobb@lemmy.ml 8 points 5 months ago (1 children)
[–] chaospatterns@lemmy.world 9 points 5 months ago (2 children)

Rebase still means you have to resolve conflicts, but it can be worse because you may have to resolve conflicts across multiple commits that you're rebasing on top of a conflict.

[–] SavinDWhales@lemmy.world 10 points 5 months ago (1 children)

Do you know our Lord and Savior rerere?

(Though I rather squash most of the times)

[–] bungle_in_the_jungle@lemmy.world 5 points 5 months ago

Damn, you know... Over 15 years as a dev using git and understanding it fairly well and I'm still learning about new, handy things.

[–] ChaosMonkey@lemmy.dbzer0.com 3 points 5 months ago* (last edited 5 months ago) (1 children)

In my experience this can be beneficial when committing and rebasing small and distinct changes.

[–] GissaMittJobb@lemmy.ml 2 points 5 months ago

Agreed. If your commits are reasonably structured, rebasing is far more helpful.

Although these days I usually opt for one ball-of-mud commit while developing the code, which is always fairly trivial to rebase - only one commit, can't have follow-up issues - and then I redo the commit structure from scratch as a part of preparing the code for the benefit of the reviewer.