News for hackers. Stuff that matters.
Re:Using Git commit message templates to write better commit... by wodenokoto on Wednesday January 12, 2022 @03:33PM (#29912349)
I like it, but I feel like it is closer to a merge request message / merge / rebase commit message.

Generally I think it is good form to break down your stories so they match the scope of a reasonable merge request and name the branch [issue-id]-human_readable_text

Re:Using Git commit message templates to write better commit... by jakeinspace on Wednesday January 12, 2022 @05:14PM (#29913475)
Agreed. I can't imagine working on a feature branch and writing 50 of these for a moderately large change, just for those to be squashed. I mean, I can, but I don't think it's necessary.
Re:Using Git commit message templates to write better commit... by charcircuit on Wednesday January 12, 2022 @05:46PM (#29913816)
It that case you can put in the detailed commit messages later. So when you are doing your squash you type in the detailed commit.
Re:Using Git commit message templates to write better commit... by mnahkies on Wednesday January 12, 2022 @05:46PM (#29913823)
I wish that github would stick multiple commit messages into the default pr body - if I have a single commit it'll prefill the pr body from its message, but have a series of commits it won't. Should use the same rules as it's default squash message IMO
Re:Using Git commit message templates to write better commit... by kevincox on Thursday January 13, 2022 @06:18AM (#29919453)
GutHub support for reviewing multiple commits is basic (to be generous). The focus is all on the "PR" the entire diff and the description (that lives outside of git).

I think this is pretty harmful to having a useful git history and a conspiracy theorist would likely say that it is intentional lock-in.

Re:Using Git commit message templates to write better commit... by mnahkies on Thursday January 13, 2022 @07:18AM (#29919939)
I'd love to be able to browse pr's commit by commit marking files as viewed, and then ideally have this bubble through to the holistic change view