Has anyone come up with a good way to get emails when commits are pushed to your GitHub repo -- that includes a diff of files changed?
(I know they have an Email Service Hook - but that doesn't include a diff)
Mega bonus points if the diffs are colorized with inline CSS that's viewable in Gmail.
On the Github, go to the Source view of your project. You will see a link named 'Branch List'. Once the page opens you can see a list of all the remote branches. Hit on the Compare button in front of any of the available branches to see the difference between two branches.
In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down to click Notification settings. Under "Default notification email", select the email address you'd like notifications sent to. Click Save.
GitHub allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account.
The first step is to access your account settings by going to the top right corner, and then Settings. In your account settings, go to the Emails option, and uncheck the Keep my email address private option.
I've written a small WebHook that exactly fills this gap: gitdub. It leverages git-notifier to send one email per commit.
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