Function: magit-push-notes-ref

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

Signature

(magit-push-notes-ref REF REMOTE &optional ARGS)

Documentation

Push a notes ref to another repository.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-push.el
;;;###autoload
(defun magit-push-notes-ref (ref remote &optional args)
  "Push a notes ref to another repository."
  (interactive
    (let ((note (magit-notes-read-ref "Push notes")))
      (list note
            (magit-read-remote (format "Push %s to remote" note) nil t)
            (magit-push-arguments))))
  (run-hooks 'magit-credential-hook)
  (magit-run-git-async "push" remote ref args))