this post was submitted on 20 Mar 2025
1 points (100.0% liked)

Programming

19887 readers
174 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] eager_eagle@lemmy.world 0 points 1 month ago (1 children)

I just keep my commit messages one-liners and elaborate more on pull requests, where there's enough context to really justify the change.

[โ€“] zygo_histo_morpheus@programming.dev 1 points 1 month ago* (last edited 1 month ago)

Putting the message in git puts the information closer to the code, since the pr isn't in git itself but instead the git forge. You can for example search the text of git messages from the git cli, or come across the explanation when doing git blame. I sometimes write verbose commit messages and then use them as the basis for the text in the pr, that way the reviewer can see it easily, but it's also available to anyone who might come across it when doing git archeology