I did the following to merge Git notes.
ref : http://vmiklos.hu/blog/git-notes-merge
I cloned a repo, added notes reference to the commit (refs/notes/commits).
Note: git 2.6 (Q3/Q4 2015) will make git notes merge a bit more efficient and precise:
See commit 4f655e2, commit d2d68d9, commit 11dd2b2, commit 93efcad, commit 4d03dd1, commit e48ad1b (17 Aug 2015) by Jacob Keller (jacob-keller).
(Merged by Junio C Hamano -- gitster -- in commit 5b6211a, 31 Aug 2015)
notes: teachgit notesaboutnotes.option.mergeStrategy Teach
notesabout a new "notes." option for configuring the notes merge strategy when merging into.mergeStrategy refs/notes/.
This option allows for the selection of merge strategy for particular notes refs, rather than all notes ref merges, as user may not wantcat_sort_uniqfor all refs, but only some.
Note that theis the local reference we are merging into, not the remote ref we merged from. The assumption is that users will mostly want to configure separate local ref merge strategies rather than strategies depending on which remote ref they merge from.
notes.overrides the general behavior as it is more specific..mergeStrategy