Function: magit-clone-shallow-exclude
magit-clone-shallow-exclude is an interactive and natively 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
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-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)))