Using multiple git comment branches
I want to use git notes
to store the commit comparison data to keep the project execution history.
I know I can use git notes
to attach metadata to commits, but I would like to store benchmark data in a separate branch other than refs/notes/commits
, something like refs/notes/benchmarks
, but I don't know how I go about it.
Can it be used git notes
in such a way that I can have multiple branches of notes that pertain to the declaration in master
?
source to share
Similar:
git notes --ref refs/notes/benchmarks add [ -m 'msg' ]
Then you can see your notes in git log
git log --notes=refs/notes/benchmarks
or read the content of notes for a specific object (like commit - but notes can annotate other types of objects as well, like a commit tree)
git notes --ref refs/notes/benchmarks show <commit>
source to share