Function: magit-notes-merge
magit-notes-merge is an interactive and byte-compiled function defined
in magit-notes.el.
Signature
(magit-notes-merge REF)
Documentation
Merge the notes ref REF into the current notes ref.
The current notes ref is the value of Git variable
core.notesRef or "refs/notes/commits" if that is undefined.
When there are conflicts, then they have to be resolved in the
temporary worktree ".git/NOTES_MERGE_WORKTREE". When
done use magit-notes-merge-commit to finish. To abort
use magit-notes-merge-abort.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-notes.el
(defun magit-notes-merge (ref)
"Merge the notes ref REF into the current notes ref.
The current notes ref is the value of Git variable
`core.notesRef' or \"refs/notes/commits\" if that is undefined.
When there are conflicts, then they have to be resolved in the
temporary worktree \".git/NOTES_MERGE_WORKTREE\". When
done use `magit-notes-merge-commit' to finish. To abort
use `magit-notes-merge-abort'."
(interactive (list (magit-read-string-ns "Merge reference")))
(magit-run-git-with-editor "notes" "merge" ref))