Function: magit-refresh-all
magit-refresh-all is an interactive and byte-compiled function defined
in magit-mode.el.
Signature
(magit-refresh-all)
Documentation
Refresh all buffers belonging to the current repository.
Refresh all Magit buffers belonging to the current repository, and revert buffers that visit files located inside the current repository.
Run hooks magit-pre-refresh-hook and magit-post-refresh-hook.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-refresh-all ()
"Refresh all buffers belonging to the current repository.
Refresh all Magit buffers belonging to the current repository,
and revert buffers that visit files located inside the current
repository.
Run hooks `magit-pre-refresh-hook' and `magit-post-refresh-hook'."
(interactive)
(magit-run-hook-with-benchmark 'magit-pre-refresh-hook)
(dolist (buffer (magit-mode-get-buffers))
(with-current-buffer buffer (magit-refresh-buffer)))
(magit-run-hook-with-benchmark 'magit-post-refresh-hook))