Function: magit-previous-reference

magit-previous-reference is an interactive and byte-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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/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))