Function: magit-delete-shelved-branch

magit-delete-shelved-branch is an interactive and natively compiled function defined in magit-log.el.

Signature

(magit-delete-shelved-branch BRANCH)

Documentation

Delete the shelved BRANCH.

Delete a ref created by magit-branch-shelve.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-log.el
;;;###autoload
(defun magit-delete-shelved-branch (branch)
  "Delete the shelved BRANCH.
Delete a ref created by `magit-branch-shelve'."
  (interactive (list (magit-read-shelved-branch "Delete shelved branch")))
  (magit-run-git "update-ref" "-d" (concat "refs/shelved/" branch)))