this post was submitted on 12 Dec 2023
807 points (99.0% liked)

Programmer Humor

19623 readers
2719 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] catastrophicblues@lemmy.ca 7 points 11 months ago (1 children)

Oh god I feel so called out. I wish I paid more attention to my commit messages but I’m usually too busy fixing the directory structure and refactoring. Sigh.

[–] brlemworld@lemmy.world 2 points 11 months ago (3 children)

My company collapses into a single commit at merge so idgaf what the commit message is anymore. Though I would prefer not collapsing them.

[–] DoomBot5@lemmy.world 2 points 11 months ago

Master should just have the feature description commits, not the hundred commits it took to get there after refactoring the code for the 3rd time and pulling changes from master since it's taken so long to get done.

[–] GyozaPower@discuss.tchncs.de 1 points 11 months ago

I prefer that approach. We work with smaller tasks, so it makea more sense, plus it helps keep the master clean and if you want a more detailed view of the specific commits, you just have to click on the link to the PR. It's a better way to organise it IMO

[–] catastrophicblues@lemmy.ca 1 points 11 months ago

Yeah I worked at a place like that, but it made sense because we were also expected to keep PRs small, so a good commit message for several squashed ones was perfectly fine.