Function: magit-previous-reference

magit-previous-reference is an interactive and natively compiled function defined in magit-log.el.

Signature

(magit-previous-reference)

Documentation

Move to the previous Git reference appearing in the current buffer.

Move to the previous location that uses a face appearing in magit-reference-movement-faces. If repeat-mode(var)/repeat-mode(fun) is enabled, this command and its counterpart can be repeated using p (magit-previous-reference) and r (magit-next-reference).

Key Bindings

magit-reference-navigation-repeat-map p

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-log.el
(defun magit-previous-reference ()
  "Move to the previous Git reference appearing in the current buffer.

Move to the previous location that uses a face appearing in
`magit-reference-movement-faces'.  If `repeat-mode' is enabled,
this command and its counterpart can be repeated using \
\\<magit-reference-navigation-repeat-map>\
\\[magit-previous-reference] and \\[magit-next-reference]."
  (interactive)
  (magit-next-reference t))