Function: magit-fetch-refspec

magit-fetch-refspec is an autoloaded, interactive and byte-compiled function defined in magit-fetch.el.

Signature

(magit-fetch-refspec REMOTE REFSPEC ARGS)

Documentation

Fetch a REFSPEC from a REMOTE.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-fetch.el
;;;###autoload
(defun magit-fetch-refspec (remote refspec args)
  "Fetch a REFSPEC from a REMOTE."
  (interactive
    (let ((remote (magit-read-remote-or-url "Fetch from remote or url")))
      (list remote
            (magit-read-refspec "Fetch using refspec" remote)
            (magit-fetch-arguments))))
  (magit-git-fetch remote (cons refspec args)))