Function: magit-fetch-modules
magit-fetch-modules is an autoloaded, interactive and byte-compiled
function defined in magit-fetch.el.
Signature
(magit-fetch-modules &optional ARG1 ARG2)
Documentation
Fetch all populated submodules.
Fetching is done using "git fetch --recurse-submodules", which means that the super-repository and recursively all submodules are also fetched.
To set and potentially save other arguments invoke this command with a prefix argument.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-fetch.el
;;;###autoload(autoload 'magit-fetch-modules "magit-fetch" nil t)
(transient-define-prefix magit-fetch-modules (&optional transient args)
"Fetch all populated submodules.
Fetching is done using \"git fetch --recurse-submodules\", which
means that the super-repository and recursively all submodules
are also fetched.
To set and potentially save other arguments invoke this command
with a prefix argument."
:man-page "git-fetch"
:value (list "--verbose" "--jobs=4")
["Arguments"
("-v" "verbose" "--verbose")
("-j" "number of jobs" "--jobs=" :reader transient-read-number-N+)]
["Action"
("m" "fetch modules" magit-fetch-modules)]
(interactive (if current-prefix-arg
(list t)
(list nil (transient-args 'magit-fetch-modules))))
(if transient
(transient-setup 'magit-fetch-modules)
(magit-with-toplevel
(magit-run-git-async "fetch" "--recurse-submodules" args))))