this post was submitted on 05 Sep 2024
540 points (99.6% liked)

Programmer Humor

32050 readers
1352 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Bougie_Birdie@lemmy.blahaj.zone 10 points 2 weeks ago (3 children)

I'm definitely writing useless git commit messages

For work, I at least include the Jira ticket id

For personal stuff, it's sweeping features stuffed into one commit that barely describes what was changed

[–] gnutrino@programming.dev 14 points 2 weeks ago

"Fixed stuff"
...
"Fixed for real this time"

[–] CanadaPlus@lemmy.sdf.org 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

What was the git flag to basically rewrite history again?

I've definitely been guilty of this, but if I can redo my changes in narrative form before I push I bet I won't have to.

[–] gnutrino@programming.dev 3 points 2 weeks ago
[–] blaue_Fledermaus@mstdn.io 2 points 2 weeks ago (1 children)

Forcing myself to write in the format of Conventional Commits has helped me a lot to write better commit messages.

[–] funbreaker@lemmy.zip 1 points 2 weeks ago* (last edited 1 week ago)

Looking at the website, Conventional Commits seems a little verbose for ny tastes but it probably helps actually communicate the changes so everyone is on the same page. Thanks for the tip!

Edit: Spelling