Adam Warski

16 Apr 2013

Per-commit e-mail GitHub notifications

code review
softwaremill

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

comments powered by Disqus

Any questions?

Can’t find the answer you’re looking for?