Function: magit-notes-edit

magit-notes-edit is an interactive and byte-compiled function defined in magit-notes.el.

Signature

(magit-notes-edit COMMIT &optional REF)

Documentation

Edit the note attached to COMMIT.

REF is the notes ref used to store the notes.

Interactively or when optional REF is nil use the value of Git variable core.notesRef or "refs/notes/commits" if that is undefined.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-notes.el
(defun magit-notes-edit (commit &optional ref)
  "Edit the note attached to COMMIT.
REF is the notes ref used to store the notes.

Interactively or when optional REF is nil use the value of Git
variable `core.notesRef' or \"refs/notes/commits\" if that is
undefined."
  (interactive (magit-notes-read-args "Edit notes"))
  (magit-run-git-with-editor "notes" (and ref (concat "--ref=" ref))
                             "edit" commit))