Function: magit-clone-sparse

magit-clone-sparse is an interactive and natively compiled function defined in magit-clone.el.

Signature

(magit-clone-sparse REPOSITORY DIRECTORY ARGS)

Documentation

Clone REPOSITORY into DIRECTORY and create a sparse checkout.

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-sparse (repository directory args)
  "Clone REPOSITORY into DIRECTORY and create a sparse checkout."
  (interactive (magit-clone-read-args))
  (magit-clone-internal repository directory (cons "--no-checkout" args)
                        'sparse))