Git notes: attaching same note value with same namespace to multiple commits?

150 Views Asked by At

To add note with specific namespace, you can do it like this:

git notes --ref=bugzilla add -m 'bug #15' 0385bcc3

But what if I need to specify it something similarly as with tags. Like from now (if not specified otherwise) all commits must have note with namespace task and value of 10? And later if I would change let say from now: every commit should automatically have note with namespace task and value of 11? In other words I would relate all future commits to automatically get same note (if not specified differently). Or make it like tags, and if relate past commits with specific note?

I need this so I would not need to write same note for every commit that has same note (or same metadata)

Is there something similar I can do with notes, or maybe there are some other cool features that can be used in git (not just notes)?

0

There are 0 best solutions below