Open pedrofialho opened 8 months ago
Alternatively, perhaps Cmd+Opt+C
or Cmd-Ctrl-C
could work to copy the current branch name, regardless of what is selected in the UI?
Or please at least add Copy Branch Name
to the Edit
menu so I can use macOS Settings to add a custom app shortcut. Custom shortcuts are only available for menu bar items; currently Copy Branch Name
is only available in the branch's right-click context menu.
It would be great if we could copy the name of the selected branch in the branch list on the sidebar when focused, in the same way we can copy a commit SHA with
Cmd+C
/Ctrl+C
in the commit list.One gotcha I noticed is that branches lose their focus on the first click because it auto-reveals the branch tip in the commit list, so you have to click again on it to select it properly. If that's not handled, a user trying this feature could inadvertently copy the commit SHA thinking the branch name was focused. If that's something that can be changed then it should be a straightforward enhancement.