Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Default branch name prefix #2052

Open
heneds opened this issue Oct 20, 2023 · 0 comments
Open

[Feature Request] Default branch name prefix #2052

heneds opened this issue Oct 20, 2023 · 0 comments

Comments

@heneds
Copy link

heneds commented Oct 20, 2023

It would be very useful to be able to define a standard branch name prefix for the Create Branch modal. The prefix should be prefilled in Branch name and preselected so that typing replaces the default. Pressing END would allow you to just enter the suffix. This should be a local repository setting.

Consider the branch name pattern /feature/NN/JIRA-XXX where NN is the developer name or initials, JIRA is the Jira project and XXX is the task number. 9 times out of 10 this would be the name of the branch that I want to create locally. With this feature I would only have to fill in XXX.

The auto-complete feature (#815 ) is great but has some flaws for this use case.

  • It assumes I'm working on multiple branches at the same time. I try hard not to do that.
  • It only suggests part of the branch prefix each time (first feature/ then feature/NN/).
  • It only suggests folder names.
  • It suggests other developer's folders. (I often have these for review but I never create with Create Branch.)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant