As git stores notes on a separate (orphaned) branch ( refs/notes/commits specified by default), you can create a branch by pointing to the note head, edit it as usual (using, for example, rebase ), and update the links to the tip of this branch :
// create branch pointing to the tip of notes branch git checkout -B notes-editing refs/notes/commits // do whatever you want with notes-editing branch // for example, git reset
max
source share