Function: magit-project-status

magit-project-status is an autoloaded, interactive and byte-compiled function defined in magit-extras.el.

Signature

(magit-project-status)

Documentation

Run magit-status in the current project's root.

To teach project-switch-project about this command, you have to add something like this to your configuration:

    (keymap-set project-prefix-map "m" #'magit-project-status)
    (add-to-list 'project-switch-commands
                 '(magit-project-status "Magit") t)

Also see magit-project-dispatch.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-extras.el
;;; Emacs Tools

;;;###autoload
(defun magit-project-status ()
  "Run `magit-status' in the current project's root.

To teach `project-switch-project' about this command, you have to
add something like this to your configuration:

    (keymap-set project-prefix-map \"m\" #\\='magit-project-status)
    (add-to-list \\='project-switch-commands
                 \\='(magit-project-status \"Magit\") t)

Also see `magit-project-dispatch'."
  (interactive)
  (if (fboundp 'project-root)
      (magit-status-setup-buffer (project-root (project-current t)))
    (user-error "`magit-project-status' requires `project' 0.3.0 or greater")))