Function: magit-pull-from-pushremote
magit-pull-from-pushremote is an autoloaded, interactive and
byte-compiled function defined in magit-pull.el.
Signature
(magit-pull-from-pushremote ARG1)
Documentation
Pull from the push-remote of the current branch.
With a prefix argument or when the push-remote is either not configured or unusable, then let the user first configure the push-remote.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-pull.el
;;;###autoload(autoload 'magit-pull-from-pushremote "magit-pull" nil t)
(transient-define-suffix magit-pull-from-pushremote (args)
"Pull from the push-remote of the current branch.
With a prefix argument or when the push-remote is either not
configured or unusable, then let the user first configure the
push-remote."
:if #'magit-get-current-branch
:description #'magit-pull--pushbranch-description
(interactive (list (magit-pull-arguments)))
(pcase-let ((`(,branch ,remote)
(magit--select-push-remote "pull from there")))
(run-hooks 'magit-credential-hook)
(magit-run-git-with-editor "pull" args remote branch)))