Git hook to send email notification on repo changes

git, githooks

Solution

Another, more modern way to do this is with git-multimail, as suggested by Chords below.

This is how you did it in 2009.

You could add something like this to your post-receive hook in $GITDIR/hooks, or use the script in the contrib directory of the source (Available here)

Problem

How do I configure the appropriate Git hook to send a summary email whenever a set of changes is pushed to the upstream repository?

Original source

Related problems