Configuring Git to Send Commit Notices
Explains how to set up Git to automatically notify relevant mailing lists or systems when new commits are pushed to the repository.
Commit emails for MariaDB are sent to commits@lists.mariadb.org. You can find the archive here.
To allow others to see what you are working on in your MariaDB tree:
subscribe to the email list
configure git to send your commits to commits@mariab.org.
Download the post-commit git trigger script. Configure as:
git config --global hooks.postcommitrecipients "commits@mariadb.org"
git config --global hooks.postcommitbranches "*"Also you might want to check the README for the post-commit trigger.
The post-commit git trigger uses sendmail for sending emails. Some platforms don't have sendmail and then you'll need to modify to make use of something that is supported.
Also, the post-commit trigger is just one approach. You can also use git-email on at least Debian and Fedora to send commit emails to the MariaDB commits email list.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

