Function: magit-clone-shallow-exclude
magit-clone-shallow-exclude is an autoloaded, interactive and
byte-compiled function defined in magit-clone.el.
Signature
(magit-clone-shallow-exclude REPOSITORY DIRECTORY ARGS EXCLUDE)
Documentation
Create a shallow clone of REPOSITORY in DIRECTORY.
Then show the status buffer for the new repository. Exclude commits reachable from EXCLUDE, which is a branch or tag read from the user.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-clone.el
;;;###autoload
(defun magit-clone-shallow-exclude (repository directory args exclude)
"Create a shallow clone of REPOSITORY in DIRECTORY.
Then show the status buffer for the new repository.
Exclude commits reachable from EXCLUDE, which is a
branch or tag read from the user."
(interactive (append (magit-clone-read-args)
(list (read-string "Exclude commits reachable from: "))))
(magit-clone-internal repository directory
(cons (format "--shallow-exclude=%s" exclude) args)))