Function: magit-fetch-branch

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

Signature

(magit-fetch-branch REMOTE BRANCH ARGS)

Documentation

Fetch a BRANCH from a REMOTE.

Key Bindings

Source Code

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