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.
Asked
Active
Viewed 44 times
1 Answers
2
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.
-
GitHub is so widely used, are there any opensource solutions for doing this. I found gitdub and git-notifier but they don't send coloured emails I think(have to confirm). – akshay202 Sep 05 '15 at 11:44
-
@akshay202 I agree. My solution is still using a GitHUb feature (webhook), but requires a listener of your own. – VonC Sep 05 '15 at 11:45