I am using git's default post-receive-email hook. Is it possible to configure the script to send notifications to multiple emails?
Please note that I do not want to use a mailing list. My project has only 2 developers.
You could use any email address. But, you must have used an email address that is connected with your GitHub account. The email address linked with Github ensures that commits are attributed to you and appear in your contributions graph.
Looking at the script, it appears that the value of git config hooks.mailinglist
is used directly in the To:
field of the outgoing message. So, simply add more than one email address separated by commas into git config hooks.mailinglist
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With