Reputation: 606
I want to send email to all the developers for every commit made in repository. I have explored GitHub default email service but its not useful as it does not include code diff of the commit. Is there any other way to send out coloured html formatted email for every commit push to the server.
Upvotes: 2
Views: 51
Reputation: 1323363
Since the GitHub email notification service isn't enough, you can use a simple git push webhook, and listen to it.
On a server set to listen to that push event, do a git fetch, and for each commit, generate an html page with the colored diff content.
Then send the email from that server with the right content.
Upvotes: 2