M-x magit-show-refs
: This shows the list of local as well as remote branches.- Go to the
Branches
section (One at the top, most likely you are already there.) - Navigate via up/down arrows and select the branch to delete by typing
x
(formagit-delete-thing
) followed byRET
- In the lower section (mini-buffer) you'll see the list of branches.
- For unmerged branches you get a confirmation prompt. Type
y
to confirm.
If you liked this micro-TIL, checkout my other notes at my Dendron Site