I need to prefill the message of the git tag that is about to be created created with some data. This way, once the editor is open, the user can check that data and do some changes if necessary.
The problem is that there is no hook that, AFAIK, can detect tag creation. And I can't just wrap git tag command as we use gitflow which takes care of it among others.
I tried to work on TAG_EDITMSG
file by creating it before running the gitflow command to finish a release/hotfix/...etc and to create the tag but that does not work because it is overwritten.
Is there a way to customize TAG_EDITMSG
?