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

Allow to pin branches in branches list #15767

Open
TheBlubb14 opened this issue Dec 12, 2022 · 5 comments
Open

Allow to pin branches in branches list #15767

TheBlubb14 opened this issue Dec 12, 2022 · 5 comments

Comments

@TheBlubb14
Copy link

The feature request

I would like to have the ability to pin branches at the top of the branches list.
There should be a new option in the context menu when right-clicking on a branch in the branches list. This option should allow me to add the selected branch to a new group called "Pinned branches". Right-clicking on the pinned branch would show an option to un-pin it again. If there are no branches left inside the pinned group the group would be hidden from the user until he pin again a branch.
Maybe instead of calling it pin, it could be also called favorite.

New option in context menu
grafik

New view when there is a pinned branch
grafik

Proposed solution

In my daily workflow I often need to create new branches from a list of base branches.
For example a user has a list of branches which he is currently supporting for bugfixes. If he now want to create a bugfix currently he need to filter for the support branch by typing its name, switch to it and then creating a new branch for the bugfix.
With the proposed feature the user does not need to filter anymore for the supported branches as he has them pinned already, making it easier to switch to it and continue his work.

Additional context

No response

@sergiou87
Copy link
Member

Thanks for your suggestion @TheBlubb14 ! I'll leave this marked as enhancement but since it's similar to #8183 I can only say we have no plans of doing anything like this, and just rely on recent vs non-recent branches.

@jessewriter
Copy link

there are 2 branches development and release that we frequently build our branches from and I'd like to pin these to the top instead of having to type origin/development every time i call create branch from. as an engineer i like to remove tedious and repetitive tasks from my workflows

@Naga2002
Copy link

I support this enhancement. Is there a way to officially upvote this?

@steveward
Copy link
Member

Requested in #17792.

@nartb
Copy link

nartb commented Apr 8, 2024

I also support this enhancement. It would make my team's workflow much nicer if the branches we deploy often were pinned to the top of the branch list.

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

No branches or pull requests

6 participants