Hacker News new | ask | show | jobs
by davidjfelix 892 days ago
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.