Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: