- cross-posted to:
- git@programming.dev
- cross-posted to:
- git@programming.dev
Everyone at my previous job would tell me to please include the Jirs ticket in my branch names as we use conventional commits. Literally nowhere does it say to do that. I’d always point out that branch names are temporary and commits are forever and Jira links to the commits that have the ticket number even if the branch doesn’t. Apparently people find
feature/ABC-123_Add_payment_button
more readable thanadd-payment-button
.I find these useful but I can’t stand not starting commits with a captial letter. It doesn’t matter than they’re sentence fragments. The beginning of an entry should be capitalized.
fest: Add button
is better to me.Also I’m a firm believer that the ticket number, in included, should be a footer and not in the first line. It takes up so many characters of very valuable space. Let the first line be a nice summary of the commit and bury the ticket number deep down in the commit. Tools like grep will still find it. My eyes don’t need it 99% of the time.