Platinum Partner
architects,devops,version control,tips and tricks,tools & methods

Per-Commit E-mail GitHub Notifications

One thing that I miss in GitHub is the ability to get e-mail notifications on each push/commit. There is an option to set an e-mail notification address in the repository settings, but you can only specify a single, global address, and only the administrator can do it.

So while waiting for CodeBrag beta, which will bring a much better code-review experience, here’s how I get an e-mail notification on each push to the repositories I’m interested in.

The general idea is to get a RSS feed, and then use a simple IFTTT recipe to receive an e-mail whenever there’s a new item containing the words “pushed to” in the feed. The recipe looks like this:

2013-03-19_1616

There are two ways of getting an RSS feed with all the pushes. Firstly, you can get an RSS feed which aggregates pushes to all of the repositories that you are watching. Simply go to GitHub, log in, and in the upper-right corner you should see a “News Feed” link. Copy that to IFTTT and you’re done!

Secondly, you can get a feed for a single branch of a repository. Go to the repository you wish to get notifications for, and click on the “commits tab” (you should get a page like this one). Next to “Commit History”, there’s a feed symbol, which is a link to the branch’s feed.

Hope this will be useful!
Adam

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}