Function: magit-fetch-refspec

magit-fetch-refspec is an interactive and natively compiled function defined in magit-fetch.el.

Signature

(magit-fetch-refspec REMOTE REFSPEC ARGS)

Documentation

Fetch a REFSPEC from a REMOTE.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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)))