Function: magit-push-matching

magit-push-matching is an autoloaded, interactive and byte-compiled function defined in magit-push.el.

Signature

(magit-push-matching REMOTE &optional ARGS)

Documentation

Push all matching branches to another repository.

If multiple remotes exist, then read one from the user. If just one exists, use that without requiring confirmation.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-push.el
;;;###autoload
(defun magit-push-matching (remote &optional args)
  "Push all matching branches to another repository.
If multiple remotes exist, then read one from the user.
If just one exists, use that without requiring confirmation."
  (interactive (list (magit-read-remote "Push matching branches to" nil t)
                     (magit-push-arguments)))
  (run-hooks 'magit-credential-hook)
  (magit-run-git-async "push" "-v" args remote ":"))