Function: magit-subtree-push

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

Signature

(magit-subtree-push PREFIX REPOSITORY REF ARGS)

Documentation

Extract the history of the subtree PREFIX and push it to REF on REPOSITORY.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-subtree.el
;;;###autoload
(defun magit-subtree-push (prefix repository ref args)
  "Extract the history of the subtree PREFIX and push it to REF on REPOSITORY."
  (interactive (list (magit-subtree-prefix 'magit-subtree-export "Push subtree")
                     (magit-read-remote-or-url "To repository")
                     (magit-read-string-ns "To reference")
                     (magit-subtree-arguments 'magit-subtree-export)))
  (magit-git-subtree "push" prefix args repository ref))