Variable: magit-post-clone-hook

magit-post-clone-hook is a customizable variable defined in magit-clone.el.

Value

nil

Documentation

Hook run after the repository has been successfully cloned.

When the hook is called, default-directory is let-bound to the directory where the repository has been cloned.

This variable was added, or its default value changed, in magit version 4.0.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-clone.el
(defcustom magit-post-clone-hook nil
  "Hook run after the repository has been successfully cloned.

When the hook is called, `default-directory' is let-bound to the
directory where the repository has been cloned."
  :package-version '(magit . "4.0.0")
  :group 'magit-commands
  :type 'hook)