Function: magit-get-push-remote
magit-get-push-remote is a byte-compiled function defined in
magit-git.el.
Signature
(magit-get-push-remote &optional BRANCH)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-get-push-remote (&optional branch)
(and-let ((remote
(or (and (or branch (setq branch (magit-get-current-branch)))
(magit-get "branch" branch "pushRemote"))
(magit-get "remote.pushDefault"))))
(magit--propertize-face remote 'magit-branch-remote)))