this post was submitted on 11 Oct 2025
297 points (99.0% liked)

Programmer Humor

38851 readers
86 users here now

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

Rules:

founded 6 years ago
MODERATORS
top 16 comments
sorted by: hot top controversial new old
[–] rulray@lemmy.dbzer0.com 26 points 2 weeks ago (2 children)
[–] fibojoly@sh.itjust.works 7 points 2 weeks ago (1 children)

You just helped me so fucking much with this! I'm writing a lecture on exactly this and my own personal experience is alright, but this is even better. Thank you!

[–] rulray@lemmy.dbzer0.com 4 points 2 weeks ago

Happy to help, this web has saved me from many fuck ups though the years and everyone should know about it

[–] eldavi@lemmy.ml 3 points 2 weeks ago

i could have used this 10 years ago; but i guess it's better late than never. lol

[–] GissaMittJobb@lemmy.ml 8 points 2 weeks ago (1 children)
[–] chaospatterns@lemmy.world 9 points 2 weeks 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 8 points 2 weeks ago (1 children)

Do you know our Lord and Savior rerere?

(Though I rather squash most of the times)

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 2 weeks ago* (last edited 2 weeks ago) (1 children)

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

[–] GissaMittJobb@lemmy.ml 2 points 2 weeks 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.

[–] polite_cat@lemmy.world 6 points 2 weeks ago
[–] BlueEther@no.lastname.nz 2 points 2 weeks ago (1 children)
[–] manxu@piefed.social 3 points 2 weeks ago

Sometimes it happens to me and git is as cantankerous with me as Linus is to a kernel developer that irked him.

[–] DonutsRMeh@lemmy.world 2 points 1 week ago

I thought it was just me who has a hard time with git. I feel better now.

[–] scuppie@lemmy.blahaj.zone 1 points 1 week ago

I like that the suicide prevention number is wrong. It should still dial, but funny.

[–] not_woody_shaw@lemmy.world -1 points 2 weeks ago

AI tools are actually really helpful with this kind of stuff. Not with actually resolving the conflict, but with setting things up so that you can see and reason about it.