Hacker News new | ask | show | jobs
by Spivak 897 days ago
> that GitHub can pull from the body

I think that breaks the thing that people want which is being able to `git commit -m "Fix #234353"` without a body at all.

1 comments

Use multiple messages.

`git commit -m "Fix actual words that humans read" -m "Fixes: #234353"`

You could probably script this based on branch if you're one of those people who names branches after ticket numbers.

But my actual advice is that I think -m is a bad pattern that leads to bad commit messages, and omitting the message argument opens your EDITOR, and you should use that.