From the magit-status
buffer, if I hit b k
it will bring up a list of branches with helm-mode-magit-branch-delete
. If I select a branch and hit RET
, it will delete that branch (sometimes prompting to make sure that is what I want to do if the branch is unmerged).
What I am looking for is a way to delete multiple branches.
The documentation from magit-branch-delete
says
Delete one or multiple branches. If the region marks multiple branches, then offer to delete those, otherwise prompt for a single branch to be deleted, defaulting to the branch at point.
However, from helm-mode-magit-branch-delete
, I am not sure how to select multiple branches. I have tried using C-SPC
(helm-toggle-visual-mark
), which visually marks the branches I wan't, but when I hit RET
with multiple branches marked, it only deletes the branch at point. I can't seem to find documentation for helm-mode-magit-branch-delete
, and am out of ideas as to how to delete multiple branches. Any suggestions?
Also, as suggested in the comments below, I am not sure thathelm-mode-magit-branch-delete
is an actual command since I can't find it documented or referenced anywhere else, but it is the name of the buffer when I try to call magit-delete-branch
from the magit-status-buffer
, so this was the only way I new to reference it. From my modeline:
helm-mode-magit-branch-delete
. Are you sure such a command really exists? In what package is it defined?helm
andmagit
are defined, buthelm
seems to have taken over many of mymagit
commands - basically anywhere where something needs to be selected from a list,helm
takes over.