Over a million developers have joined DZone.
Platinum Partner

Per-Commit E-mail GitHub Notifications

· DevOps Zone

The DevOps Zone is brought to you in partnership with New Relic. Improving the performance of your app is easy with New Relic's SaaS-based monitoring.

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:


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!

The DevOps Zone is brought to you in partnership with New Relic. Know exactly where and when bottlenecks are occurring within your application frameworks with New Relic APM.


Published at DZone with permission of Adam Warski , DZone MVB .

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}