Function: magit-sparse-checkout-reapply

magit-sparse-checkout-reapply is an autoloaded, interactive and byte-compiled function defined in magit-sparse-checkout.el.

Signature

(magit-sparse-checkout-reapply)

Documentation

Reapply the sparse checkout rules to the working tree.

Some operations such as merging or rebasing may need to check out files that aren't included in the sparse checkout. Call this command to reset to the sparse checkout state.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sparse-checkout.el
;;;###autoload
(defun magit-sparse-checkout-reapply ()
  "Reapply the sparse checkout rules to the working tree.
Some operations such as merging or rebasing may need to check out
files that aren't included in the sparse checkout.  Call this
command to reset to the sparse checkout state."
  (interactive)
  (magit-run-git-async "sparse-checkout" "reapply"))