logoalt Hacker News

IshKebabtoday at 4:13 PM2 repliesview on HN

Why do you even want the issue number in the commit title? I find that super annoying and unfortunately GitHub kind of forces it on you if you use merge queues.

It's fine for it to be in the description.


Replies

heblebtoday at 4:26 PM

If i'm looking at git history, the ticket number is the most useful piece of info to get more context on the changes for me

show 1 reply
alanwreathtoday at 4:21 PM

It’s very helpful to know the motivation for the commit and if that motivation was tied to a client contract/feature. Especially in cases where a commit affects multiple files or even just one file so that all commits can be grouped into a feature/contract.

show 1 reply