1125
you are viewing a single comment's thread
view the rest of the comments
[-] dohpaz42@lemmy.world 70 points 1 month ago

Git commits with message saying “pushing changes” and there are over 50 files with unrelated code in it.

[-] tdawg@lemmy.world 42 points 1 month ago
[-] pinball_wizard@lemmy.zip 24 points 1 month ago* (last edited 1 month ago)

"Fix for critical issue."

Followed by an equally large set of files in a commit with just the message:

"Fixup"

And then the actual fix turns out to be mixed in with "Start sprint 57 - AutoConfiguration Refactor" which follows "Fixup"

[-] Black616Angel@discuss.tchncs.de 3 points 1 month ago

In the past I had commit messages with change numbers from a system, that was no longer in use.

So the commit just said “CH-12345“. It is the kind of annoying, where you can't even really be mad at someone.

[-] dohpaz42@lemmy.world 1 points 1 month ago

I put my ticket numbers in my tickets, but i also try to describe the change too (e.g. “Fix bug where xyz happens due to zyx action”). Also, atomic commits: commit only related changes.

Yes, it takes longer to commit large changes, BUT you can easily merge the commits, and rollback only what needs to be rolled back.

this post was submitted on 13 Nov 2025
1125 points (99.1% liked)

Programmer Humor

28225 readers
1106 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