Function: magit-fetch-branch

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

Signature

(magit-fetch-branch REMOTE BRANCH ARGS)

Documentation

Fetch a BRANCH 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-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)))