DEV Community

David B.
David B.

Posted on

5 3

Github - create a branch from issue

Coming from Gitlab to Github, the most wanted and used feature for me was the automatic creation of feature branches from issues.

This was two years ago.

Surprisingly, Github has yet to implement this useful feature. Currently, It's one of the most requested features on Github.

Realizing this, I went ahead and implemented it using the Tampermonkey script.

  • After installing it, you will see a new blue button on the issues page.

  • Clicking on it will create a new branch, which will have the same (almost) name as an issue.

analytics

Source code and installation instructions are on Github:

bumbeishvili/create-branch-from-issue

Please try it out. I really hope it will be useful for many.

And I would appreciate your feedback

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (4)

Collapse
 
dcuccia profile image
dcuccia

Hi, thanks for this. When I install as a team-wide app, I do get the default behavior of creation-upon-assignment, but I don't see the button appear for "manual" generation. Am I missing something?

Collapse
 
dbumbeishvili profile image
David B.

Not sure what you mean

Is this related?

github.com/bumbeishvili/create-bra...

Collapse
 
zacharyve profile image
Zachary Velasco

Why is this not a chrome extension?

Collapse
 
dbumbeishvili profile image
David B.

Because you can have more control using tampermonkey. Also creating chrome extensions requires more time commitment and you are more dependant on external factors

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay