Hacker News new | ask | show | jobs
by jjgreen 227 days ago
I've worked in a couple of places with <issue ID>-<something descriptive> conventions, moderately useful
2 comments

Yes, `issue-10-add-feature-X` style is best.
I have a little script that does this automatically - lists out Jira tickets assigned to me, then when I select one, creates a branch with the ticket number and the title, subbing hyphens for spaces and truncating if needed. It’s handy for when I want to list branches, I can filter on keywords I remember from the ticket name.
That's been my preference at most places I've worked. issue id so the branch gets linked to jira or whatever and a short description to find the branch later if needed.