gitgithooksgit-notes

Git hooks with git notes?


Is it possible to use any git hooks with git notes?

In other words, are any git hooks triggered by a git notes add -m "Some note"?

I have tried a few hooks (update, post-commit) but so far none seem to be triggered on a git notes add.


Solution

  • No: no client-side hook is triggered by git notes add

    And furthermore, that feature was not ever requested, it seems, in the Git mailing list.