News for hackers. Stuff that matters.
Re:Git CLI tool for intelligently creating branch names by jjgreen on Friday October 31, 2025 @11:29AM (#45773171)
I've worked in a couple of places with <issue ID>-<something descriptive> conventions, moderately useful
Re:Git CLI tool for intelligently creating branch names by krferriter on Friday October 31, 2025 @11:41AM (#45773317)
Yes, `issue-10-add-feature-X` style is best.
Re:Git CLI tool for intelligently creating branch names by bavent on Friday October 31, 2025 @01:57PM (#45774811)
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.
Re:Git CLI tool for intelligently creating branch names by johntash on Friday October 31, 2025 @02:53PM (#45775386)
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.