🆕 Create a branch for an issue in public beta #12290
Replies: 127 comments 157 replies
-
this is nice. but i would prefer like gitlab has it, that it creates both a branch and a PR for you. one of the things that annoys me a lot when working on github. i like to take notes about my work in the PR but on github i can't do that before i already have 1 commit on the branch, something which doesn't always happen so fast. |
Beta Was this translation helpful? Give feedback.
-
It would be pretty awesome if it were possible to link an existing branch from another repository within the scope of the organization. Where I work there is a certain repository of tasks where it is not possible to link Pull Requests or Branches because the projects are done in another repository, this would be an excellent addition. |
Beta Was this translation helpful? Give feedback.
-
Just noticed that when I do create a PR from the branch, it automatically links it to the issue and marks the issue for autoclosing when the PR is merged. This is something we don't want in our org so this is a bit annoying. E.g. we already have to write "for #123" in PRs instead of "fixes #123" to avoid the autoclosing, and this adds another thing we have to dodge. |
Beta Was this translation helpful? Give feedback.
-
Finally! That's exactly the feature I've been waiting for - thanks for adding this to GitHub. One small issue: when the issue title contains special characters (e.g., markdown backticks), it would be amazing if branch name could sanitize those out. |
Beta Was this translation helpful? Give feedback.
-
Not within the scope of this feature currently, but in the future it would be neat to see:
Great work guys |
Beta Was this translation helpful? Give feedback.
-
I can't assign existing branch ( |
Beta Was this translation helpful? Give feedback.
-
It would be great if we can configure some sort f regex when it comes to the naming convention of the branch as well as limit or unlimit the name length of the branch For example.
|
Beta Was this translation helpful? Give feedback.
-
Could we get the option to move a projects story to the correct column when using the create branch feature? A story/issue is in the Todo column. Once the branch is created the story is then moved to the "In Progress" column. |
Beta Was this translation helpful? Give feedback.
-
We'd like to see the ability to configure a default repository destination. We've got a two-repo structure for all projects to separate project management and source*. So for a ticket in the On a related note, being able to configure the default branch would also be nice. Something a bit more complex: configuring the default branch source (and branch name) based on labels.
|
Beta Was this translation helpful? Give feedback.
-
Love the feature! But I think I ran into a bug? My issue title is something like "🐛 [Foo] Bar" which suggests a branch name |
Beta Was this translation helpful? Give feedback.
-
This is amazing, it working very good! But have a stranger behavior, when have " - " in name of issue, type "Product - Create Variants", in name of branch get 3 "-", type "52-produtos---create-variants" |
Beta Was this translation helpful? Give feedback.
-
Linking to an existing branch would be great. |
Beta Was this translation helpful? Give feedback.
-
I like this feature, and it would be better if we can add the feature type to the branch name like |
Beta Was this translation helpful? Give feedback.
-
Not sure if I'm allowed to post this again but I guess there will always be features not covered by the platform itself.
FD: I'm the author of that app. I think the current "Create a branch" functionality in the platform is a great starting point for most development workflows (and most likely sufficient for many projects), but if you're looking for more control please consider the Create Issue Branch App/Action. |
Beta Was this translation helpful? Give feedback.
-
✔ fixedDefault branch name should include numbers from issue titleDefault branch name is currently in format of But in this example, the original issue title is The branch name they want is Can we get number as allowed character in default branch name please? We have the same problem with both client numbers and report numbers being omitted. |
Beta Was this translation helpful? Give feedback.
-
Save the users option so that if i want to always check out locally, please do not pre select code space every time so i cannot quick copy the cmd. |
Beta Was this translation helpful? Give feedback.
-
I really like the 'create a branch' feature, and find it really useful. One thing that I'd love is being able to slightly change the branch naming convention. At the moment it defaults to (in my case) Great feature though - it's so useful :) |
Beta Was this translation helpful? Give feedback.
-
The function is great! I just found that it is annoying that the created branch name is not consistent between the VS Code extension GitHub (specifically the Start Working on issue function) and this function of the GitHub web interface. For example I have an issue named "
Personally, I prefer the descriptive naming convention used by the GitHub web interface. In my opinion, the ideal solution would involve an API call for branch creation, which the VS Code extension could utilize. Currently, these two functions, developed by the same company, exhibit incompatibility. In the repository of the extension there are issues related to this problem:
Improved coordination among the GitHub development teams would be highly beneficial! 🚀 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
One thing I would add is a setting for a "default" branch to be customized to a different default. I understand that Just food 🥘 for thought 🧠 |
Beta Was this translation helpful? Give feedback.
-
Sorry, the source branch 70-sales-history-per-item could not be found. Getting this error when trying to create a branch when switching repositories for an issue |
Beta Was this translation helpful? Give feedback.
-
Excellent functionality. However, branch names in Git should be exclusively in English. It would be great to add automatic transcription from other languages, particularly from Slavic languages. Task names can be in different languages if it's a team's norm, but branch names should always be in latin. Thank you for your attention. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I would like it to remember the "what next" option for next time so that I don't have to select github desktop every time |
Beta Was this translation helpful? Give feedback.
-
I can't figure out why I can select some existing branches in the repository to link to an issue, but not the one I created by hand for it. I can see it in the repository. It complains if I try to use this feature to create a branch with the same name. But it does not allow me to link the branch I want. Seems bugged. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Add a "Open branch with VS Code". |
Beta Was this translation helpful? Give feedback.
-
Please consider placing the "Create branch" button on the same pop-up pane as the rest of the dialog, to make it a bit easier to find and use. The current placement, as shown below, does not feel as intuitive, IMHO. Thank you. (Apologies if I missed something; I'm pretty new to git and GitHub.) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It would also be nice if the default branch name already used "folders" (
A lot of tools support this to give more oversight and group things together |
Beta Was this translation helpful? Give feedback.
-
In an issue, you can now create a branch for that issue and start work right away. In the sidebar of an issue, branches connected to the issue are shown in the "Development" section, which has replaced "Linked pull requests". When you create a pull request for one of these branches, it is automatically linked to the issue. You can learn more about the functionality in our documentation.
Addresses github/roadmap#218 on our public roadmap.
We can't wait for you to try it out! Let us know what you think here in Discussions.
🐳
Beta Was this translation helpful? Give feedback.
All reactions