Skip to content

Copy Current Branch Name #1306

@kh0m

Description

@kh0m

Greetings!

I love using GitLens and it works great when managing multiple repositories and multiple branches. Given the large number of branches in my repos, I would find it extremely convenient to have a command from the Command Palette that copies the name of the currently checked out branch. I do this so many times in a day in order to paste it in trackers and pull requests.

While this can be done using the copy command in the branchesView, it will save having to open that view and scroll through the hundreds of branches to find the one with the checkmark next to it.

(Depending on support for this feature, an alternative to it could be to order the checked out branch to the top of the list, following or preceding the default branch)

Thanks!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions