News for hackers. Stuff that matters.
Re:Git CLI tool for intelligently creating branch names by 6LLvveMx2koXfwn on Friday October 31, 2025 @11:27AM (#45773128)
we do:

  [feature/bug]/ISSUE-NUMBER-summary-of-issue
e.g.:

  bug/psi-456-broken-args-parsing
Re:Git CLI tool for intelligently creating branch names by darkwater on Friday October 31, 2025 @11:30AM (#45773179)
More or less the same here, but we (I?) prefix it with the username as well, so when pulling branches you know who created it.
Re:Git CLI tool for intelligently creating branch names by celticninja on Friday October 31, 2025 @12:22PM (#45773812)
But the PR and git blame can tell you this so I would never look at the Branch name to find out this information
Re:Git CLI tool for intelligently creating branch names by darkwater on Friday October 31, 2025 @02:23PM (#45775078)
For me is useful when I run 'git fetch' from the command line. I don't use any graphical git client
Re:Git CLI tool for intelligently creating branch names by dewey on Friday October 31, 2025 @01:39PM (#45774594)
A nice benefit of prefixing by your-name/issue-1234-some-description is that many git clients will show it in a folder structure that way and it's easy to differentiate yours from other branches.
Re:Git CLI tool for intelligently creating branch names by ytreister on Saturday November 01, 2025 @03:03PM (#45784353)
I added a new TODO issue so that username can be configured in the branch name. gibr currently does not have support for username.

https://github.com/ytreister/gibr/issues/42

Re:Git CLI tool for intelligently creating branch names by ytreister on Monday November 03, 2025 @02:44AM (#45796744)
I implemented this in version 0.6.0 which was just released. https://github.com/ytreister/gibr/releases/tag/0.6.0 The issue assignee can be used in the branch name.
Re:Git CLI tool for intelligently creating branch names by ytreister on Saturday November 01, 2025 @03:00PM (#45784322)
gibr makes it super easy to do exactly this!