Function: magit-cherry
magit-cherry is an interactive and natively compiled function defined
in magit-log.el.
Signature
(magit-cherry HEAD UPSTREAM)
Documentation
Show commits in a branch that are not merged in the upstream branch.
Key Bindings
magit-mode-map Y
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-log.el
;;;###autoload
(defun magit-cherry (head upstream)
"Show commits in a branch that are not merged in the upstream branch."
(interactive
(let ((head (magit-read-branch "Cherry head")))
(list head (magit-read-other-branch "Cherry upstream" head
(magit-get-upstream-branch head)))))
(require 'magit)
(magit-cherry-setup-buffer head upstream))